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

Table of Contents

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


12.10.9 Example blocks in LaTeX export

By default, when exporting to LaTeX, example blocks contents are wrapped in a ‘verbatim’ environment. It is possible to use a different environment globally using an appropriate export filter (see Advanced configuration). You can also change this per block using :environment parameter.

     #+ATTR_LATEX: :environment myverbatim
     #+BEGIN_EXAMPLE
     This sentence is false.
     #+END_EXAMPLE