summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Charpentier <emm.charpentier@free.fr>2019-04-22 16:56:00 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-04-23 10:23:42 +0200
commitffccea7d731e673b358fa2c79728a8455701b5f5 (patch)
treeddc6146058fda05a5b64eed382fbadc540ed0c09
parent5b7b0fa8fbee864df0ce737439f67ec46e987d17 (diff)
downloadorg-mode-ffccea7d731e673b358fa2c79728a8455701b5f5.tar.gz
Document the LATEX_ATTR :scale parameter in ORG-NEWS
* etc/ORG-NEWS: document the new builtin LaTeX exporters' LATEX_ATTR :scale parameter
-rw-r--r--etc/ORG-NEWS20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 79659ea..8568b23 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~