对于 Org 文件中的其他特殊块,LaTeX 导出后端会创建同名环境,并将 ‘:options’ (如有)原样追加到环境起始语句后。示例:
#+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
导出后为:
\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}
如需插入特定标题命令,可使用 ‘:caption’ 属性,覆盖标准 ‘CAPTION’ 值(如有)。示例:
#+ATTR_LATEX: :caption \MyCaption{HeadingA}
#+BEGIN_proof
...
#+END_proof