From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: help with beamer and org: pictures alignment and size Date: Wed, 30 Aug 2017 11:52:41 +0100 Message-ID: <87fuc9ba4m.fsf@t3610> References: 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]:43363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn0c5-00029W-B9 for emacs-orgmode@gnu.org; Wed, 30 Aug 2017 06:52:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn0c0-0008D6-Cs for emacs-orgmode@gnu.org; Wed, 30 Aug 2017 06:52:49 -0400 Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:38305) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dn0c0-0008CO-5o for emacs-orgmode@gnu.org; Wed, 30 Aug 2017 06:52:44 -0400 Received: by mail-wr0-x232.google.com with SMTP id 40so16860562wrv.5 for ; Wed, 30 Aug 2017 03:52:43 -0700 (PDT) In-Reply-To: (Luca Ferrari's message of "Wed, 30 Aug 2017 12:35:48 +0200") 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: Luca Ferrari Cc: emacs-org list --=-=-= Content-Type: text/plain On Wednesday, 30 Aug 2017 at 12:35, Luca Ferrari wrote: > Hi all, > I'm producing my first beamer presentation via org-mode, and so far so > good. However I would like to have a slide to display a few pictures, > one per row or even in a grid, so I tried the following: > > ** My slide > #+ATTR_LATEX: width=0.1\textwidth First of all, it depends on what version of org you are using. Assuming you are using a recent version, your syntax here is wrong; it should be: #+ATTR_LATEX: :width 0.1\textwidth > - [[./images/debian.png]] > - [[./images/redhat.png]] Secondly, the attribute will only apply to the first image (I believe) so you will need to repeat the attribute setting. Actually, it may apply only to the item and not the image. You many need to do something like this: #+begin_src org - ,#+ATTR_LATEX: :width 0.1\textwidth :center nil [[./images/debian.png]] - ,#+ATTR_LATEX: :width 0.1\textwidth :center nil [[./images/redhat.png]] #+end_src If you are using an older version of org, I highly recommend upgrading especially if you intend to use beamer. HTH, eric -- : Eric S Fraga via Emacs 26.0.50, Org release_9.0.10-715-g8b5b2c --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWaaY+QAKCRDIkZPY//z2 feruAJ9gPWly5jJ4vRkthm3MQk6gG9t7AACdHrrjD0u2RvYveLZEs6XIKd6scU8= =EI3p -----END PGP SIGNATURE----- --=-=-=--