Add fontspec to org-latex-default-packages-alist in case of LuaLaTeX
This commit is contained in:
parent
93540957d5
commit
4f4510b9a8
15
README.org
15
README.org
@ -1639,6 +1639,21 @@ listing [[lst:customize-org-latex-classes]].
|
||||
#+caption: Customize =org-latex-export=.
|
||||
#+name: lst:customize-org-latex-export
|
||||
#+begin_src emacs-lisp
|
||||
(with-eval-after-load 'org
|
||||
(custom-set-variables
|
||||
'(org-latex-default-packages-alist '(("" "fontspec" t ("lualatex"))
|
||||
("AUTO" "inputenc" t ("pdflatex"))
|
||||
("T1" "fontenc" t ("pdflatex"))
|
||||
("" "graphicx" t)
|
||||
("" "longtable" nil)
|
||||
("" "wrapfig" nil)
|
||||
("" "rotating" nil)
|
||||
("normalem" "ulem" t)
|
||||
("" "amsmath" t)
|
||||
("" "amssymb" t)
|
||||
("" "capt-of" nil)
|
||||
("" "hyperref" nil)))))
|
||||
|
||||
(with-eval-after-load 'ox-latex
|
||||
(custom-set-variables
|
||||
'(org-latex-compiler "lualatex")
|
||||
|
Loading…
Reference in New Issue
Block a user