Table of Contents

Next: , Previous: HTML export, Up: Exporting


12.5 LaTeX and PDF export

C-c C-e l l
Export as LaTeX file myfile.tex.
C-c C-e l p
Export as LaTeX and then process to PDF.
C-c C-e l o
Export as LaTeX and then process to PDF, then open the resulting PDF file.

By default, the LaTeX output uses the class article. You can change this by adding an option like #+LATEX_CLASS: myclass in your file. The class must be listed in org-latex-classes.

Embedded LaTeX as described in Embedded LaTeX, will be correctly inserted into the LaTeX file. Similarly to the HTML exporter, you can use #+LATEX: and #+BEGIN_LATEX ... #+END_LATEX construct to add verbatim LaTeX code.