From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: orgmode BEAMER scaling image Date: Thu, 24 Mar 2011 12:26:27 -0500 Message-ID: References: <19834758-735D-4ADE-AA66-8ACF44F2CE46@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=32779 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2oRB-0004Dg-L1 for emacs-orgmode@gnu.org; Thu, 24 Mar 2011 13:35:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2oIo-0000BR-3K for emacs-orgmode@gnu.org; Thu, 24 Mar 2011 13:26:31 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:43075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2oIn-0000B0-Nx for emacs-orgmode@gnu.org; Thu, 24 Mar 2011 13:26:30 -0400 Received: by bwz17 with SMTP id 17so318410bwz.0 for ; Thu, 24 Mar 2011 10:26:28 -0700 (PDT) In-Reply-To: <19834758-735D-4ADE-AA66-8ACF44F2CE46@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Gilberto Cc: emacs-orgmode@gnu.org On Thu, Mar 24, 2011 at 11:35 AM, Gilberto wrote: > In his org-mode beamer tutorial, Eric Fraga (very useful tutorial BTW, > thanks) gives an example of using an image, and writes > > I=C2=A0have added an attribute to the image to tell LaTeX to scale the im= age to > the full width of the column. > > Can I add a similar attribute to my images without having to tweak the .t= ex > file? In other words, can I directly do that in org beamer mode? You want the #+attr_latex feature to send export options to LaTeX[1]. Here's an example: --------- * Section ** Slide name *** Column 1 :BMCOL:B_ignoreheading: :PROPERTIES: :BEAMER_col: 0.45 :BEAMER_env: ignoreheading :END: Here's the text for column 1. *** Column 2 :BMCOL:B_ignoreheading: :PROPERTIES: :BEAMER_col: 0.45 :BEAMER_env: ignoreheading :END: #+ATTR_LaTeX: width=3D0.95\textwidth [[/here/is/the/path/to/your/image.jpg]] ---------- The width=3D option scales the image. \textwidth when used in the column environment applies to the width of the *column* textwidth, not that of the actual total page size. I've found that using 0.45 for the :BEAMER_col width made things look a little better, but that might have been due to my custom template. Use 0.5 if you want to make it bigger and it works for you. [1] http://orgmode.org/manual/Images-in-LaTeX-export.html Hope that helps, John > Gilberto Conde > ah.gilberto.c@gmail.com > ___________________________________ > > >