Pedro Andres Aranda Gutierrez <[email protected]> writes:
> Version 2 with the requested addition (documented)
> + (:latex-use-sans nil "latex-use-sans" org-latex-use-sans)
> ...
> - (plist-get info :latex-header-extra)))
> + (plist-get info :latex-header-extra))
> + (and (not snippet?)
> + org-latex-use-sans
> +
> "\\renewcommand*\\familydefault{\\sfdefault}"))
You should check :latex-use-sans rather than directly consulting the
custom option here. Just as it is done for :latex-header-extra.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>