emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Exporting multiple images in a float (LaTeX)
Date: Fri, 07 Aug 2015 00:31:37 +0200	[thread overview]
Message-ID: <877fp8kq0m.fsf@gmx.us> (raw)
In-Reply-To: 87bnekkq81.fsf@gmx.us

Rasmus <rasmus@gmx.us> writes:

> Hi,
>
> Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
>
>>   #+name: fig:myfig1
>>   #+caption: This is a single figure, entered in the usual way.
>>
>>   file:myfig1.pdf
>>
>>   #+begin_latex
>>   \begin{figure}[htb]
>>     \centering
>>     \includegraphics[width=0.8\linewidth]{myfig2.pdf}
>>     \includegraphics[width=0.8\linewidth]{myfig3.pdf}
>>     \caption{\label{fig:myfig23} Two images in one floating environment.}
>>   \end{figure}
>>   #+end_latex
>
>
> You should probably use subcaption for that.  If so see maybe here:
>
>     http://thread.gmane.org/gmane.emacs.orgmode/92820
>
> For archiving the above you could just use a special block
>
>      #+caption: foo
>      #+attr_latex: :options [htb]
>
>      #+begin_figure
>      [[file:fig2.png]]
>      [[file:fig3.png]]
>      #+end_figure

Also, note that :float nil now handles captions and that you should be
able to give arbitrary citations commands.  Thus, you should be able to
recreate any old latex structure for images.

Rasmus

-- 
With monopolies the cake is a lie!

  reply	other threads:[~2015-08-06 22:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06 16:42 Exporting multiple images in a float (LaTeX) Suvayu Ali
2015-08-06 22:27 ` Rasmus
2015-08-06 22:31   ` Rasmus [this message]
2015-08-07  4:24     ` Suvayu Ali
2015-08-07 13:28       ` Eric S Fraga
2015-08-07 14:14         ` Suvayu Ali
2015-08-07 14:23           ` Rasmus
2015-08-07 16:19             ` Eric S Fraga
2015-08-07 17:04               ` Suvayu Ali
2015-08-08 19:23               ` Rasmus
2015-08-08 23:56                 ` Suvayu Ali
2015-08-10 11:59                 ` Eric S Fraga
2015-08-07 17:00             ` Suvayu Ali

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=877fp8kq0m.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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).