Update org-latex-image default options

This commit is contained in:
Thomas Dehaeze 2020-03-19 10:08:27 +01:00
parent c74f95a889
commit ab94118c7f

View File

@ -243,7 +243,8 @@ TAB was changed to toggle only the visibility state of the current subtree, rath
Don't change the font size for subscripts and superscripts in latex fragments. Don't change the font size for subscripts and superscripts in latex fragments.
This cause the orgmode tables not to be well aligned. This cause the orgmode tables not to be well aligned.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq font-latex-fontify-script nil) (after! org
(setq font-latex-fontify-script nil))
#+end_src #+end_src
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -999,8 +1000,10 @@ by spaces.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(after! org (after! org
;; Setup default option for image size when exporting to LaTeX ;; Setup default option for image size when exporting to LaTeX
(setq org-latex-image-default-option "scale=1") (setq org-latex-image-default-scale "")
(setq org-latex-image-default-width nil) (setq org-latex-image-default-width "")
(setq org-latex-image-default-height "")
(setq org-latex-image-default-option "")
;; Use define labels instead of automatic generated ones ;; Use define labels instead of automatic generated ones
(setq org-latex-prefer-user-labels t) (setq org-latex-prefer-user-labels t)