From: Carsten Dominik <carsten.dominik@gmail.com>
To: Francesco Pizzolante <fpz@missioncriticalit.com>
Cc: mailing-list-org-mode <emacs-orgmode@gnu.org>
Subject: Re: LaTeX export of images
Date: Tue, 29 Sep 2009 11:28:59 +0200 [thread overview]
Message-ID: <10AD8929-948F-4985-8E26-F49C0DF525A7@gmail.com> (raw)
In-Reply-To: <87pr9jf68i.fsf@missioncriticalit.com>
On Sep 22, 2009, at 3:39 PM, Francesco Pizzolante wrote:
> Hi,
>
> I have a question about the LaTeX export of images.
>
> I wondering why we treat differently images with caption/label than
> the ones
> that do not have caption/label.
>
> I suppose that we want to make the difference between images that
> appear in
> the middle of the text and those who will appear in a float (with
> possibly
> label and caption).
>
>
> 1) Images in the middle of the text
>
> If I have the following example:
>
> ,----
> | For this example, I will use this image [[myimage.png]] which
> is a very good one.
> `----
>
> Then, when exported, it produces the following LaTeX code:
>
> ,----
> | For this example, I will the use this image
> | \centerline{\includegraphics{myimage}} which is a very good one.
> `----
>
> Which produces weird layout when compiled to PDF.
>
> In this case, we should just generate \includegraphics{myimage}
> without the
> centerline command.
>
>
> 2) Images in floats
>
> In the case of floats, the correct generated code should be
> something like:
>
> \begin{figure}[htb]
> \centering
> \includegraphics{myimage}
> \label{LABEL}
> \caption{CAPTION}
> \end{figure}
>
> and not
>
> \begin{figure}[htb]
> \centerline{\includegraphics{myimage}}
> \label{LABEL}
> \caption{CAPTION}
> \end{figure}
>
> This can also be fixed quickly I think.
Yes sure, but what is wrong with \centerline? does the \centering
lead to a different result?
- Carsten
>
> Now, the question is: is it correct to identify a "float" image
> thanks to its
> caption and label attributes? Can't we have a "float" image without
> label or
> caption?
>
>
> Thanks for your help and input.
>
> Francesco
>
>
> _______________________________________________
> 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
next prev parent reply other threads:[~2009-09-29 9:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-22 13:39 LaTeX export of images Francesco Pizzolante
[not found] ` <87pr9jf68i.fsf-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>
2009-09-23 14:04 ` Sébastien Vauban
2009-09-23 15:30 ` Jeff Kowalczyk
2009-09-23 21:09 ` Sébastien Vauban
2009-09-29 9:30 ` Carsten Dominik
2009-10-02 6:55 ` Carsten Dominik
2009-10-02 13:04 ` Darlan Cavalcante Moreira
2009-10-02 15:23 ` Nick Dokos
2009-10-03 7:05 ` Carsten Dominik
2009-10-05 14:19 ` Darlan Cavalcante Moreira
[not found] ` <B2499F80-4D9D-4F76-9432-ACF04E38C8EE-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-10-13 10:03 ` Francesco Pizzolante
2009-10-20 10:18 ` Carsten Dominik
2009-09-29 9:28 ` Carsten Dominik [this message]
2009-09-29 19:32 ` Nick Dokos
2009-09-30 7:30 ` Carsten Dominik
[not found] ` <8809.1254252762-/Z0n3E7Cx4uRQBexplnFlPegYHeGw8Jk@public.gmane.org>
2009-09-30 8:53 ` Francesco Pizzolante
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10AD8929-948F-4985-8E26-F49C0DF525A7@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=fpz@missioncriticalit.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.