From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Beamer mode: specify globally #+ATTR_LATEX: Date: Sun, 4 Sep 2016 13:43:34 +0100 Message-ID: <87oa43x2bt.fsf@ucl.ac.uk> References: <5831074567ba4677a060fe7f8c1dfe3a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47191) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgZBC-0008RQ-Gw for Emacs-orgmode@gnu.org; Sun, 04 Sep 2016 11:17:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgZB9-0005bI-8H for Emacs-orgmode@gnu.org; Sun, 04 Sep 2016 11:17:54 -0400 Received: from mail-ve1eur01on0097.outbound.protection.outlook.com ([104.47.1.97]:52927 helo=EUR01-VE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgZB8-0005aq-Qk for Emacs-orgmode@gnu.org; Sun, 04 Sep 2016 11:17:51 -0400 In-Reply-To: <5831074567ba4677a060fe7f8c1dfe3a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (ST's message of "Sat, 3 Sep 2016 19:10:56 +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: ST Cc: "Emacs-orgmode@gnu.org" On Saturday, 3 Sep 2016 at 19:10, ST wrote: > Hello, > > I have many images in my presentation. I would like all of them to have > the following: > #+ATTR_LATEX: :width 0.5\hsize > > Is there a way to specify this globally (like in the header of the > file), so I don't need to write this before each image? There is a variable you can specify: ,----[ C-h v org-latex-image-default-width RET ] | org-latex-image-default-width is a variable defined in =E2=80=98ox-latex.= el=E2=80=99. | Its value is "0.9\\linewidth" | Original value was ".9\\linewidth" |=20 | Documentation: | Default width for images. | This value will not be used if a height is provided. |=20 | You can customize this variable. |=20 | This variable was introduced, or its default value was changed, in | version 24.4 of Emacs. |=20 | [back] `---- --=20 : Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.5-1070-g190476