emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>,
	org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: latex export and beamer columns
Date: Sun, 22 Nov 2009 15:15:14 +0000	[thread overview]
Message-ID: <876392lhfh.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <878wdylpw5.wl%ucecesf@ucl.ac.uk>

> At Sat, 21 Nov 2009 14:34:18 +0100,
> Carsten Dominik wrote:

> > Anything missing in Org that we should implement to support this
> > better?

Actually, going through the set of lectures I am currently preparing,
I am finding that there is one thing missing that I haven't needed
before in latex export: the ability to centre a figure without having
to use a float environment.  

Back in September, early October, there was a thread about image
placement in latex export:

http://article.gmane.org/gmane.emacs.orgmode/18174/

There was a number of use cases discussed: inline placement versus
float placement.  There is one use case missing, one that is
particularly useful for presentations, although not often necessary
for articles say, namely a figure centred on a line without a caption
and without floating.  This seemed to be present at some point in the
past but has disappeared, unless I have misunderstood the state of
play...

Basically, I would like to do something like:

,----
|   In a double pipe heat exchanger,
| 
|   [[file:images/double-pipe-heat-exchanger.png]]
| 
|   the heat transfer etc. ad nauseum...
`----

and have that figure centred on the line instead of left aligned as it
would currently appear.

If I add a #+label: the image does appear centred but as this is done
by using a latex figure environment, a Figure: caption (empty) is
added which isn't particularly useful in this case!

There *is* a solution, but it's a bit messy, e.g.:

,----
| 
| \hfill
| #+attr_latex: width=0.6\textwidth
| [[file:images/double-pipe-heat-exchanger.png]]
| \hspace*{\fill} \\
| 
`----

By the way, an \hfill at the end is not sufficient to centre the image.

I have no solution to propose for incorporating something like this
into org-mode other than possibly making use of a placement=centre
(oops, center if you prefer american spelling) option on attr_latex
which would put the includegraphics within a \centerline or \centering
environment.

Thanks,
eric

  reply	other threads:[~2009-11-22 15:15 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21 12:49 latex export and beamer columns Eric S Fraga
2009-11-21 13:34 ` Carsten Dominik
2009-11-22 12:12   ` Eric S Fraga
2009-11-22 15:15     ` Eric S Fraga [this message]
2009-11-22 15:29       ` Matt Lundin
2009-11-22 19:31         ` Eric S Fraga
2009-11-23 13:55       ` Carsten Dominik
2009-11-23 22:15         ` Eric S Fraga
2009-11-24  0:02           ` Daniel Martins
2009-11-24  6:55           ` Carsten Dominik
2009-11-24  8:36             ` Eric S Fraga
2009-11-24  8:49             ` Eric S Fraga
2009-11-24  8:59               ` Carsten Dominik
2009-11-24 18:02                 ` Eric S Fraga
2009-11-25  6:28                   ` Carsten Dominik
2009-11-25  9:27                     ` Eric S Fraga
2009-11-25 18:03                     ` Eric S Fraga
2009-11-25 23:25                       ` Carsten Dominik
2009-11-26  8:16                         ` Eric S Fraga
2009-11-26  9:05                           ` Carsten Dominik
2009-11-26 10:33                             ` Eric S Fraga
2009-11-23 14:53     ` Sébastien Vauban
2009-11-21 16:33 ` Thomas S. Dye
2009-11-22 12:00   ` Eric S Fraga
2009-11-26  1:52 ` Łukasz Stelmach
2009-11-26 18:25   ` Eric S Fraga
2009-11-26 19:54     ` Darlan Cavalcante Moreira

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=876392lhfh.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=carsten.dominik@gmail.com \
    --cc=e.fraga@ucl.ac.uk \
    --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).