emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Sub-figures in Org Mode
@ 2021-10-22 23:27 Jason Ross
  2021-10-23  0:00 ` Juan Manuel Macías
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jason Ross @ 2021-10-22 23:27 UTC (permalink / raw)
  To: emacs-orgmode

Are there any workarounds people use to create subfigures in Org Mode
when exporting to LaTeX? Example output:

#+begin_example latex
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\begin{subfigure}{.5\textwidth}
   \centering
   \includegraphics[width=.8\linewidth]{image1}
   \caption{1a}
   \label{fig:sfig1}
\end{subfigure}%
\begin{subfigure}{.5\textwidth}
   \centering
   \includegraphics[width=.8\linewidth]{image2}
   \caption{1b}
   \label{fig:sfig2}
\end{subfigure}
\caption{plots of....}
\label{fig:fig}
\end{figure}
\end{document}
#+end_example

Based on how ox-latex.el handles images I don't see how this would be
possible but the people on this list are a lot smarter than I am so
maybe one of you has found a way.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-30 14:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-22 23:27 Sub-figures in Org Mode Jason Ross
2021-10-23  0:00 ` Juan Manuel Macías
2021-10-26 17:46   ` Jason Ross
2021-10-30 14:28     ` Juan Manuel Macías
2021-10-25 10:44 ` Eric S Fraga
2021-10-25 10:48 ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).