[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] wrapping text around figure
From: |
Nick Dokos |
Subject: |
Re: [O] wrapping text around figure |
Date: |
Wed, 24 Sep 2014 19:36:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
marvin doyley <address@hidden> 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