commit c1508f87a6aa5b31e9d12451d447da25e08684e2
parent c67e70cfa46800c893c835e6caa491aa4fbe8542
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Sun, 31 Mar 2019 23:27:58 -0400
Add scaling for latex preview.
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/README.org b/README.org
@@ -1152,6 +1152,14 @@ a dummy language to Babel. Idea comes form [[https://www.reddit.com/r/orgmode/co
"\n#+HTML_HEAD_EXTRA: \\)</div>\n"))
#+END_SRC
+*** LaTeX Preview Scaling
+Default size is a bit small. Also note that the =fullpage= package can cause preview images to become really tall. Use =dvisvgm= backend for clearer image.
+
+#+BEGIN_SRC emacs-lisp
+ (plist-put org-format-latex-options :scale 1.75)
+ (setq org-latex-create-formula-image-program 'dvisvgm)
+#+END_SRC
+
** Python-mode
Enhancements to =python-mode=.