emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Burt <tcburt@rochester.rr.com>
To: Raffi R <raffir@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Subfloats in LaTeX
Date: Sat, 25 Jul 2009 08:27:39 -0400	[thread overview]
Message-ID: <19050.64059.571628.56911@nitrogen.burtket> (raw)
In-Reply-To: <b49618890907241304m951a47dgb54aed247b0d2ab6@mail.gmail.com>

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

  parent reply	other threads:[~2009-07-25 12:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-24 20:04 Subfloats in LaTeX Raffi R
2009-07-24 20:23 ` Raffi R
2009-07-25 12:27 ` Tim Burt [this message]
2009-08-03  4:30 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19050.64059.571628.56911@nitrogen.burtket \
    --to=tcburt@rochester.rr.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=raffir@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).