Skip to main content

13.10 LaTeX Export

The LaTeX export back-end can handle complex documents, incorporate standard or custom LaTeX document classes, generate documents using alternate LaTeX engines, and produce fully linked PDF files with indexes, bibliographies, and tables of contents, destined for interactive online viewing or high-quality print publication.

While the details are covered in-depth in this section, here are some quick references to variables for the impatient: for engines, see org-latex-compiler; for build sequences, see org-latex-pdf-process; for packages, see org-latex-default-packages-alist and org-latex-packages-alist.

An important note about the LaTeX export back-end: it is sensitive to blank lines in the Org document. That’s because LaTeX itself depends on blank lines to tell apart syntactical elements, such as paragraphs.

• LaTeX/PDF export commands  For producing LaTeX and PDF documents.
• LaTeX specific export settings  Unique to this LaTeX back-end.
• LaTeX header and sectioning  Setting up the export file structure.
• Quoting LaTeX code  Incorporating literal LaTeX code.
• Tables in LaTeX export  Options for exporting tables to LaTeX.
• Images in LaTeX export  How to insert figures into LaTeX output.
• Plain lists in LaTeX export  Attributes specific to lists.
• Source blocks in LaTeX export  Attributes specific to source code blocks.
• Example blocks in LaTeX export  Attributes specific to example blocks.
• Special blocks in LaTeX export  Attributes specific to special blocks.
• Horizontal rules in LaTeX export  Attributes specific to horizontal rules.