From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Re: Centering side-by-side images in latex/pdf export
Date: Fri, 13 Jan 2017 06:34:53 +0000 [thread overview]
Message-ID: <87shonfoxe.fsf@ucl.ac.uk> (raw)
In-Reply-To: <708f08e1afcd4532b9916fb78df6028f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (knubee's message of "Thu, 12 Jan 2017 10:24:25 +0000")
[-- Attachment #1: Type: text/plain, Size: 992 bytes --]
On Thursday, 12 Jan 2017 at 10:24, knubee wrote:
> I recently opened some .org files from a year ago and tried to
> generate new PDFs from them. There have been significant updates to
> emacs, org-mode, and the relevant LaTeX packages I use, so some parts
> of the source had to be changed. Mostly, everything is working now
> except for generating PDFs with centered, side by side images.
[...]
> I am able to get the images side by side if I disable org-mode's
> automatic centering:
>
> #+ATTR_LaTeX: :height 0.2\textwidth :center
> [[image1.png]]
> #+ATTR_LaTeX: :height 0.2\textwidth :center
> [[image2.png]]
>
> But how can I get side by side images centered? Perhaps the answer is
> very simple and obvious, but I have tried many other changes and been
> unable to accomplish this.
Put those 4 lines within the #+begin_center ... #+end_center? Works for
me.
--
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-201-ga51c6f
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
next parent reply other threads:[~2017-01-13 8:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <708f08e1afcd4532b9916fb78df6028f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-01-13 6:34 ` Eric S Fraga [this message]
2017-01-12 10:24 Centering side-by-side images in latex/pdf export knubee
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=87shonfoxe.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--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 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.