This is the official manual for the latest Org-mode release.

Table of Contents

Next: , Previous: Example blocks in LaTeX export, Up: LaTeX export


12.10.10 Special blocks in LaTeX export

In LaTeX back-end, special blocks become environments of the same name. Value of :options attribute will be appended as-is to that environment's opening string. For example:

     #+BEGIN_abstract
     We demonstrate how to solve the Syracuse problem.
     #+END_abstract
     
     #+ATTR_LATEX: :options [Proof of important theorem]
     #+BEGIN_proof
     ...
     Therefore, any even number greater than 2 is the sum of two primes.
     #+END_proof

becomes

     \begin{abstract}
     We demonstrate how to solve the Syracuse problem.
     \end{abstract}
     
     \begin{proof}[Proof of important theorem]
     ...
     Therefore, any even number greater than 2 is the sum of two primes.
     \end{proof}

If you need to insert a specific caption command, use :caption attribute. It will override standard #+CAPTION value, if any. For example:

     #+ATTR_LATEX: :caption \MyCaption{HeadingA}
     #+BEGIN_proof
     ...
     #+END_proof