4.8 KiB
LaTeX setup
- Executables
- Latex classes org-mode knows about
- elsarticle creates documents with this LaTeX documentclass: elsarticle
- mimosis creates documents with this LaTeX documentclass: mimosis
- mimore creates documents with this LaTeX documentclass: mimore
- article creates documents with this LaTeX documentclass: article
- report creates documents with this LaTeX documentclass: report
- book creates documents with this LaTeX documentclass: book
- org-mode default latex packages
- org-mode defined latex packages
- org-mode LaTeX compiling setup
- Generate LaTeX setup
This file describes how LaTeX is setup on your computer.
Executables
latex: /Library/TeX/texbin/latex pdflatex: /Library/TeX/texbin/pdflatex bibtex: /Library/TeX/texbin/bibtex biber: /Library/TeX/texbin/biber
tlmgr: /Library/TeX/texbin/tlmgr kpsewhich: /Library/TeX/texbin/kpsewhich texdoc: /Library/TeX/texbin/texdoc
Configuration: texmf configuration values (from /usr/local/texlive/2016/texmf.cnf): TEXMFVAR = ~/Library/texlive/2016/texmf-var TEXMFHOME = ~/Library/texmf TEXMFCONFIG = ~/Library/texlive/2016/texmf-config
Latex classes org-mode knows about
Here are some relevant variables help:org-format-latex-header help:org-latex-default-packages-alist help:org-latex-packages-alist help:org-latex-pdf-process
Note: Not every class has a corresponding style file. Click on the texdoc link to learn more about the class.
Missing files should be installed in the TEXMFHOME directory listed above. See https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages for help.
elsarticle creates documents with this LaTeX documentclass: elsarticle
This is the header that is expanded.
\documentclass{elsarticle} [NO-DEFAULT-PACKAGES] [PACKAGES] [EXTRA]
LaTeX path for class: /usr/local/texlive/2016/texmf-dist/tex/latex/elsarticle/elsarticle.cls
mimosis creates documents with this LaTeX documentclass: mimosis
This is the header that is expanded.
\documentclass{mimosis} [NO-DEFAULT-PACKAGES] [PACKAGES] [EXTRA] ≠wcommand{\mboxparagraph}[1]{¶graph{#1}\mbox{}\\} ≠wcommand{\mboxsubparagraph}[1]{⊂paragraph{#1}\mbox{}\\}
LaTeX path for class: /Users/user/Library/texmf/tex/latex/local/mimosis.cls
mimore creates documents with this LaTeX documentclass: mimore
This is the header that is expanded.
\documentclass{mimore} [NO-DEFAULT-PACKAGES] [PACKAGES] [EXTRA]
LaTeX path for class: /Users/user/Library/texmf/tex/latex/local/mimore.cls
article creates documents with this LaTeX documentclass: article
This is the header that is expanded.
\documentclass[11pt]{article}
LaTeX path for class: /usr/local/texlive/2016/texmf-dist/tex/latex/base/article.cls
Latex style path: /usr/local/texlive/2016/texmf-dist/tex/latex/base/article.sty
report creates documents with this LaTeX documentclass: report
This is the header that is expanded.
\documentclass[11pt]{report}
LaTeX path for class: /usr/local/texlive/2016/texmf-dist/tex/latex/base/report.cls
Latex style path: /usr/local/texlive/2016/texmf-dist/tex/latex/base/report.sty
book creates documents with this LaTeX documentclass: book
This is the header that is expanded.
\documentclass[11pt]{book}
LaTeX path for class: /usr/local/texlive/2016/texmf-dist/tex/latex/base/book.cls
Latex style path: /usr/local/texlive/2016/texmf-dist/tex/latex/base/book.sty
org-mode default latex packages
- inputenc (options=AUTO) texdoc inputenc
- fontenc (options=T1) texdoc fontenc
- graphicx (options=) texdoc graphicx
- grffile (options=) texdoc grffile
- longtable (options=) texdoc longtable
- wrapfig (options=) texdoc wrapfig
- rotating (options=) texdoc rotating
- ulem (options=normalem) texdoc ulem
- amsmath (options=) texdoc amsmath
- textcomp (options=) texdoc textcomp
- amssymb (options=) texdoc amssymb
- capt-of (options=) texdoc capt-of
- hyperref (options=) texdoc hyperref
org-mode defined latex packages
org-mode LaTeX compiling setup
org-latex-pdf-process = "(latexmk -pdflatex='pdflatex -shell-escape -interaction nonstopmode' -pdf -bibtex -f %f)"
Generate LaTeX setup
Install scimax-latex and then run scimax-latex-setup
.
(use-package scimax-latex
:straight (scimax-latex :type git
:host github
:repo "jkitchin/scimax"
:files ("scimax-latex.el"))
:commands (scimax-latex-setup
kpsewhich
texdoc))