[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: latex export and beamer columns

From: Matt Lundin
Subject: [Orgmode] Re: latex export and beamer columns
Date: Sun, 22 Nov 2009 10:29:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Eric S Fraga <address@hidden> writes:

>> 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.

I've only used Beamer a few times, but I use the "center" environment to
center images. Could you perhaps use the following?

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]