From 99d503bb11ef7923393c7bbd0dd5cdc07e3fca6d Mon Sep 17 00:00:00 2001 From: Emmanuel Charpentier Date: Mon, 22 Apr 2019 16:56:00 +0200 Subject: [PATCH 2/2] 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index 79659ea50..3285c91d9 100644 --- a/etc/ORG-NEWS +++ b/etc/ORG-NEWS @@ -192,6 +192,31 @@ 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 ~LATEX_ATTR~ ~:scale~ supported by the built-in LaTeX exporters + +The builtin ~org-latex-export*~ 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 ; +therefore, while it can be given a default value, this should be done +only under exceptional circumstances. + +#+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~ -- 2.20.1