emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* wrapping text around figure
@ 2014-09-24 22:27 marvin doyley
  2014-09-24 23:36 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: marvin doyley @ 2014-09-24 22:27 UTC (permalink / raw)
  To: emacs-orgmode

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:

Thanks,

Best Wishes,
M 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: wrapping text around figure
  2014-09-24 22:27 wrapping text around figure marvin doyley
@ 2014-09-24 23:36 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2014-09-24 23:36 UTC (permalink / raw)
  To: emacs-orgmode

marvin doyley <marvinpas@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-25  0:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-24 22:27 wrapping text around figure marvin doyley
2014-09-24 23:36 ` Nick Dokos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).