[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Centering side-by-side images in latex/pdf export
From: |
Eric S Fraga |
Subject: |
Re: [O] Centering side-by-side images in latex/pdf export |
Date: |
Fri, 13 Jan 2017 06:34:53 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
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
signature.asc
Description: PGP signature