From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gilberto Subject: Re: orgmode BEAMER scaling image Date: Thu, 24 Mar 2011 13:39:27 -0800 Message-ID: <4D8BBA0F.6090506@gmail.com> References: <19834758-735D-4ADE-AA66-8ACF44F2CE46@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=42997 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q2sGr-0006hO-6J for emacs-orgmode@gnu.org; Thu, 24 Mar 2011 17:40:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q2sGq-0006kV-64 for emacs-orgmode@gnu.org; Thu, 24 Mar 2011 17:40:45 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:63294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q2sGq-0006kP-1I for emacs-orgmode@gnu.org; Thu, 24 Mar 2011 17:40:44 -0400 Received: by gwaa12 with SMTP id a12so253758gwa.0 for ; Thu, 24 Mar 2011 14:40:43 -0700 (PDT) In-Reply-To: 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: John Hendy Cc: emacs-orgmode@gnu.org It worked great. Thanks a lot!!! Gilberto On 3/24/2011 9:26 AM, John Hendy wrote: > 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 have added an attribute to the image to tell LaTeX to scale the image to >> the full width of the column. >> >> Can I add a similar attribute to my images without having to tweak the .tex >> 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=0.95\textwidth > [[/here/is/the/path/to/your/image.jpg]] > ---------- > > The width= 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 >> ___________________________________ >> >> >>