org-thesis/latex-setup.org

4.8 KiB

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

texdoc elsarticle

Latex style path:

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

texdoc mimosis

Latex style path:

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

texdoc mimore

Latex style path:

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

texdoc article

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

texdoc report

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

texdoc book

Latex style path: /usr/local/texlive/2016/texmf-dist/tex/latex/base/book.sty

org-mode default latex packages

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