emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Vertically aligning images in tables?


From: Peter Davis
Subject: Re: [O] Vertically aligning images in tables?
Date: Fri, 15 Jan 2016 13:26:01 -0500

Thank you, Rasmus.

Regards,
-pd

Rasmus <address@hidden> writes:

> Hi Peter,
>
> Peter Davis <address@hidden> writes:
>
>>>     http://thread.gmane.org/gmane.emacs.orgmode/92820
>>
>> This solution looks very specific to a particular problem.
>
> It is a solution to the problem:
>
>    Place multiple images on one way the Correct Wayᵀᴹ when using ox-latex.
>
>> I'm not interested in captions at all.
>
> They can be removed.
>
>> I just have 3 images, roughly the same width by different heights, and
>> I'd like to place them side by side, with the tops aligned. I doesn't
>> have to be a table, but I assume that would be the simplest way to do
>> this (except I haven't made it work yet.)
>
> The simplest way is special blocks.
>
> Nonetheless, if you feel strongly about tables you could do it like this¹:
>
>      #+latex_header: \def\imgtop#1{\vtop{\null\hbox{#1}}}
>
>      #+macro: imgtop @@latex:\imgtop{@@ $1 @@latex:}@@
>
>      #+attr_latex: :booktabs nil
>      | <c>                             | <c>                             |
>      | {{{imgtop([[file:img1.png]])}}} | {{{imgtop([[file:img2.png]])}}} |
>
> Hope it helps,
> Rasmus
>
> Footnotes: 
> ¹   See: 
> http://tex.stackexchange.com/questions/23521/tabular-vertical-alignment-to-top



reply via email to

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