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: Eric S Fraga
Subject: Re: [O] Vertically aligning images in tables?
Date: Fri, 15 Jan 2016 17:03:34 +0000
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (gnu/linux)

On Thursday, 14 Jan 2016 at 17:05, Peter Davis wrote:
> I'm trying to place three images side-by-side to they're top-aligned,
> but I can't see to find a way to get org-mode to do this. My

Following up on my previous email, I couldn't resist...

A LaTeX hack that works is:

#+begin_src org
  ,* introduction
  ,#+latex: 
\newcommand{\boxedimage}[1]{\parbox[b][20pt][t]{1.5cm}{\includegraphics[scale=0.3]{#1}}}
  ,#+MACRO: p  \boxedimage{$1}
  ,#+ATTR_LATEX: :align ccc
  |------------------+------------------+--------------------|
  | {{{p(./A.png)}}} | {{{p(./B.png)}}} | {{{p(./C.png)}}}   |
  |------------------+------------------+--------------------|

#+end_src

I tried to have everything in the macro but org started escaping some of
the curly braces unfortunately...

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.3-449-gd85ff3



reply via email to

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