Aloha Juan Manuel,

Juan Manuel Macías <maciasch...@posteo.net> writes:

Hi, Thomas,

Thomas S. Dye writes:

Is there a way to add an arbitrary LaTeX command between
\begin{figure} ... \end{figure} during LaTeX export? I want to end up
with the following snippet, but can't figure out how to slip in
\setfloatalignment{b}.  \begin{figure}[htb]
\centering
\includegraphics[width=.9\linewidth]{hilbertcurves.pdf}
\caption[Hilbert curves]{\label{fig:orgparagraph1} Hilbert curves of
various degrees \emph{n}.}
\setfloatalignment{b}
\end{figure}

I think the :caption attribute could do the trick (of course everything
must be on one line):

#+ATTR_LaTeX: :caption \caption[Hilbert
curves]{\label{fig:orgparagraph1} Hilbert curves of various degrees
 \emph{n}.}\setfloatalignment{b}


That works.  Thanks!

All the best,
Tom

--
Thomas S. Dye
https://tsdye.online/tsdye

Reply via email to