Pedro Andres Aranda Gutierrez <[email protected]> writes:

> this patch automates including
>
> \renewcommand*\familydefault{\sfdefault}
>
> in the LaTeX preamble when you want to typeset with Sans fonts, instead of
> having to include
>
> #+LATEX_HEADER: \renewcommand*\familydefault{\sfdefault}
>
> in the Org document.
> ...
> +(defcustom org-latex-use-sans nil
> +  "Whether to typeset the document with the Sans font family.
> +
> +The default behaviour is to typeset with the Roman font family."
> +  :group 'org-export-latex
> +  :package-version '(Org . "9.8")
> +  :type 'boolean
> +  :safe #'booleanp)

I have no problem adding such an option, but please add it into
:options-alist. Something like
(:latex-use-sans nil "latex-use-sans" org-latex-use-sans)

Then, you can simply
#+OPTIONS: latex-use-sans:t
inside the Org file without having to do buffer-locals.

-- 
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>

Reply via email to