From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Centering side-by-side images in latex/pdf export Date: Fri, 13 Jan 2017 06:34:53 +0000 Message-ID: <87shonfoxe.fsf@ucl.ac.uk> References: <708f08e1afcd4532b9916fb78df6028f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cRwto-0001sI-Bq for emacs-orgmode@gnu.org; Fri, 13 Jan 2017 03:07:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cRwtj-0006l8-El for emacs-orgmode@gnu.org; Fri, 13 Jan 2017 03:07:48 -0500 Received: from mail-db5eur01on0102.outbound.protection.outlook.com ([104.47.2.102]:24015 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cRwtj-0006kO-4Q for emacs-orgmode@gnu.org; Fri, 13 Jan 2017 03:07:43 -0500 In-Reply-To: <708f08e1afcd4532b9916fb78df6028f@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (knubee's message of "Thu, 12 Jan 2017 10:24:25 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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. =2D-=20 : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-201-ga51c6f --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWHh1DQAKCRDIkZPY//z2 fcZcAJ9W8nkF0jlc7U9E/aff1iwzB0fDZACgjcNVriP0zSXiUVBcS/TCErOMUD0= =/gDr -----END PGP SIGNATURE----- --=-=-=--