emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Beamer mode: specify globally #+ATTR_LATEX:
@ 2016-09-03 19:10 ST
  0 siblings, 0 replies; 2+ messages in thread
From: ST @ 2016-09-03 19:10 UTC (permalink / raw)
  To: Emacs-orgmode

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?

Thank you very much!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Beamer mode: specify globally #+ATTR_LATEX:
       [not found] <5831074567ba4677a060fe7f8c1dfe3a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
@ 2016-09-04 12:43 ` Eric S Fraga
  0 siblings, 0 replies; 2+ messages in thread
From: Eric S Fraga @ 2016-09-04 12:43 UTC (permalink / raw)
  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 ‘ox-latex.el’.
| Its value is "0.9\\linewidth"
| Original value was ".9\\linewidth"
| 
| Documentation:
| Default width for images.
| This value will not be used if a height is provided.
| 
| You can customize this variable.
| 
| This variable was introduced, or its default value was changed, in
| version 24.4 of Emacs.
| 
| [back]
`----

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.94.1, Org release_8.3.5-1070-g190476

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-04 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5831074567ba4677a060fe7f8c1dfe3a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-09-04 12:43 ` Beamer mode: specify globally #+ATTR_LATEX: Eric S Fraga
2016-09-03 19:10 ST

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).