Sebastien Vauban <[email protected]> wrote:
> > the only thing that has worked is actually hacking org-latex to
> > insinuate the \raisebox in the proper place.
>
> Did you send a patch? Or is this too fragile to be applied to the core? I
> really think I will need such a thing quite soon -- I've got such a
> problematic LaTeX construct coming up in slides I'm working on.
>
No - I can't send patches, but in any case, this was just a
proof-of-concept hack. I just wrapped the \includegraphics on line 2282
or so of org-latex.el (the default case of the cond which is the
inlined-image case) inside the \raisebox construct. One still needs to
add a \usepackage{calc} by hand to make even this trivial hack to work,
but more importantly, one would need to make the alignment configurable
by the user: that's the tougher part.
Nick