From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: wrapping text around figure Date: Wed, 24 Sep 2014 19:36:27 -0400 Message-ID: <874mvwsi9w.fsf@alphaville.bos.redhat.com> References: <83A06E08-85BD-4B43-9FE8-9848CDB8A7AE@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWwYq-00013m-RQ for emacs-orgmode@gnu.org; Wed, 24 Sep 2014 20:05:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWwYd-0000Ra-2O for emacs-orgmode@gnu.org; Wed, 24 Sep 2014 20:05:28 -0400 Received: from plane.gmane.org ([80.91.229.3]:35951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWwYc-0000Qs-S2 for emacs-orgmode@gnu.org; Wed, 24 Sep 2014 20:05:14 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XWw70-0007Zs-LZ for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 01:36:42 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 01:36:42 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 01:36:42 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org marvin doyley writes: > Dear All, > > I am writing a grant proposal using Org-mode and I am trying to figure > out how to wrap text around a figure. I have done this in the past > (latex) using the wrapfig function, but it would be nice to do this > using #Attr: > I haven't tried it (at least not recently), but the documentation says: ,---- | If you have specified a caption as described in *note Images and | tables::, the picture will be wrapped into a ‘figure’ environment and | thus become a floating element. You can also ask Org to export an image | as a float without specifying caption by setting the ‘:float’ attribute. | You may also set it to: | − ‘t’: if you want to use the standard ‘figure’ environment. It is | used by default if you provide a caption to the image. | − ‘multicolumn’: if you wish to include an image which spans multiple | columns in a page. This will export the image wrapped in a | ‘figure*’ environment. | − ‘wrap’: if you would like to let text flow around the image. It | will make the figure occupy the left half of the page. | − ‘sideways’: if you would like the image to appear alone on a | separate page rotated ninety degrees using the ‘sidewaysfigure’ | environment. Setting this ‘:float’ option will ignore the | ‘:placement’ setting. | − ‘nil’: if you need to avoid any floating environment, even when a | caption is provided. | To modify the placement option of any floating environment, set the | ‘placement’ attribute. | | #+ATTR_LATEX: :float wrap :width 0.38\textwidth :placement {r}{0.4\textwidth} | [[./img/hst.png]] `---- See (info "(org) LaTeX specific attributes") Nick