emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: wrapping text around figure
Date: Wed, 24 Sep 2014 19:36:27 -0400	[thread overview]
Message-ID: <874mvwsi9w.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 83A06E08-85BD-4B43-9FE8-9848CDB8A7AE@gmail.com

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

      reply	other threads:[~2014-09-25  0:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24 22:27 wrapping text around figure marvin doyley
2014-09-24 23:36 ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874mvwsi9w.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).