I can't seem to find this case in the documentation and it doesn't seem to fit the LATEX_ATTR options. How can I get orgmode latex export to produce the following (note the setlength statements WITHIN the enumerate block)?

\item first
\item second
\item third

Something like this seems to work as you want:

* list

#+ATTR_LATEX: :options \setlength{\itemsep}{1pt} \setlength{\parsep}{0pt} \setlength{\parskip}{0pt}
1. first

2. second

3. third

Make sure there is no empty line between the #+ATTR_LATEX line and the first list item.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.