Next: , Previous: , Up: LaTeX export   [Contents][Index]


12.10.7 Plain lists in LaTeX export

The LaTeX export back-end accepts the :environment and :options attributes for plain lists. Both attributes work together for customizing lists, as shown in the examples:

#+LATEX_HEADER: \usepackage[inline]{enumitem}
Some ways to say "Hello":
#+ATTR_LATEX: :environment itemize*
#+ATTR_LATEX: :options [label={}, itemjoin={,}, itemjoin*={, and}]
- Hola
- Bonjour
- Guten Tag.

Since LaTeX supports only four levels of nesting for lists, use an external package, such as ‘enumitem’ in LaTeX, for levels deeper than four:

#+LATEX_HEADER: \usepackage{enumitem}
#+LATEX_HEADER: \renewlist{itemize}{itemize}{9}
#+LATEX_HEADER: \setlist[itemize]{label=$\circ$}
- One
  - Two
    - Three
      - Four
        - Five