From ffccea7d731e673b358fa2c79728a8455701b5f5 Mon Sep 17 00:00:00 2001 From: Emmanuel Charpentier Date: Mon, 22 Apr 2019 16:56:00 +0200 Subject: [PATCH] Document the LATEX_ATTR :scale parameter in ORG-NEWS * etc/ORG-NEWS: document the new builtin LaTeX exporters' LATEX_ATTR :scale parameter --- etc/ORG-NEWS | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 79659ea50..8568b23dd 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -192,6 +192,26 @@ This is a function for convenience. The new paramater ~:dbconnection~ allows to specify a connection name in a SQL block header: this name is used to look up connection parameters in ~sql-connection-alist~. + +*** New =:scale= attribute supported by LaTeX exporters + +The builtin "latex" exporters now accept and use a =:scale= attribute, +which scales an image by a given factor. + +This attribute is wrapped adound the =scale= parameter of LaTeX's +=\includegraphics= (bitmap images) or a TiKZ's =\scalebox=. +Therefore, its value should be some string palatable to LaTeX as +a positive float Its default value is an empty string (i.e. disabled). + +This attribute overrides the =:width= and =:height= attributes. + +#+begin_example +,#+name: Beastie +,#+caption: I think I saw this curious horse already, but where ? +,#+LATEX_ATTR: :scale 2 +[[https://orgmode.org/img/org-mode-unicorn-logo.png]] +#+end_example + ** New functions *** ~org-dynamic-block-insert-dblock~