this post was submitted on 12 Nov 2023
1 points (100.0% liked)
Emacs
311 readers
1 users here now
A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!
Get Emacs
Rules
- Posts should be emacs related
- Be kind please
- Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.
Emacs Resources
Emacs Tutorials
- Beginner’s Guide to Emacs
- Absolute Beginner's Guide to Emacs
- How to Learn Emacs: A Hand-drawn One-pager for Beginners
Useful Emacs configuration files and distributions
Quick pain-saver tip
founded 1 year ago
MODERATORS
If you have the name of the font you want to use in the LaTeX fragments, have you tried using a LaTeX header at the top of the file, e.g.
#+LaTeX_HEADER:\usepackage{mlmodern}
(Replace mlmodern
with whatever typeface you prefer)
If you don't want your .org
file to become too cluttered at the start, you could alternatively use a setup file via #+SETUPFILE: /path/to/setup-file.org
-- create an org file e.g. setup-file.org
, and include a line like
#+LaTeX_HEADER:\usepackage{mlmodern}
or whatever your fixed-pitch/monospace font is supposed to be, as well as all the other options you want to use for LaTeX
(like other \usepackage
declarations, \newcommand
definitions etc.).