From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Burt Subject: Subfloats in LaTeX Date: Sat, 25 Jul 2009 08:27:39 -0400 Message-ID: <19050.64059.571628.56911@nitrogen.burtket> References: Reply-To: tcburt@rochester.rr.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MUgLs-00062I-UI for emacs-orgmode@gnu.org; Sat, 25 Jul 2009 08:27:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MUgLo-00060p-I8 for emacs-orgmode@gnu.org; Sat, 25 Jul 2009 08:27:48 -0400 Received: from [199.232.76.173] (port=58445 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUgLo-00060f-6q for emacs-orgmode@gnu.org; Sat, 25 Jul 2009 08:27:44 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:41929) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MUgLn-0008Mh-TE for emacs-orgmode@gnu.org; Sat, 25 Jul 2009 08:27:44 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Raffi R Cc: emacs-orgmode@gnu.org Raffi --- The answer addresses the question behind "I've never tried to do this in LaTeX", where 'this' is a group of figures. > Dear community, > > How do I stick a group of figures together (i.e. so that I have Fig. 1 > and then a, b, c)? The short answer is to use the ~\subfloat~ command from the =subfig= package. The package can be found on CTAN at http://tug.ctan.org/tex-archive/macros/latex/contrib/subfig/. The following LaTeX document source demonstrates the technique, including how to identify and reference subfigures. #+begin_src latex \documentclass{article} \usepackage{graphicx} \usepackage{subfig} \begin{document} \begin{figure} \centering \subfloat[Red eye, up horn.]{\includegraphics[width=0.33\textwidth]{nrocinu}} \hfill \subfloat[More right-looking]{\includegraphics[width=0.33\textwidth]{nrocinu2}} \\ \subfloat[Geometric, right-looking]{\includegraphics[width=0.33\textwidth]{nrocinu3}} \hfill \subfloat[[Geometric, left-looking (and a bit jagged)]{\includegraphics[width=0.33\textwidth]{nrocinu4}} \\ \mbox{}\hfill \subfloat[More depth of character\label{fig:curr}]{\includegraphics[width=0.33\textwidth]{org-mode-unicorn}} \hfill\mbox{} \caption{The changing styles of the org-mode unicorn.} \label{fig:all} \end{figure} % The unicorns in Figure~\ref{fig:all} are the JPEG versions found on \texttt{http://orgmode.org/img}. Figure~\ref{fig:all}\subref{fig:curr} is the current form on \texttt{http://orgmode.org}. \end{document} #+end_src > > Alternatively, is there a way I can keep images inline and yet use > captions? Whenever I add a #+CAPTION:, it's turned into \figure and > floating is turned on. > > What I'm trying to do is make a section that consists of a sequence of images. > > I've searched the orgmode manual but can't figure out a way short of > generating the LaTeX file and editing it directly (hardly ideal!). > > That said, I've never tried to do this in LaTeX so I guess it may not > be possible (although it would surprise me!). > > > Thank you very much, > > - Raffi. _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode