I am writing in org-mode and exporting to pdf via LaTeX. I am quite new to Emacs and org-mode, and not familiar with LaTeX, so I am flailing about on the following:
I would like for a small section of my text to be exported in a custom font which resides in my ~/.font directory (.ttf and .otf versions available).
- Can it be done?
- What tags/statements/syntax are used within the document?
- Do I need to alter the Emacs setup? (My Emacs version is 24.5.1.)
There is a related LaTeX question here, but it does not involve Emacs/org-mode. The answer mentioning XeLaTeX would seem to offer the simplest route, but I don't know how to integrate this with org-mode. I had a look at org-mode's documentation about embedded LaTeX - it seems to focus on math expressions, and I remain unclear as to whether something like font changing is supported, and then how.
Thanks for any insights.
myfont
in the question you refer to). You'd use#+LATEX_HEADER: \newcommand*{\myfont}...
in the beginning of the file, and later in the text you'd use\myfont{text rendered using my font}
.