emacs-orgmode
[Top][All Lists]

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

> Hi Peter,
>
>
>>
>> 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﻿¹:
>
>
>      #+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