This is similar to (this question).

I would like to export the following org-mode document to LaTeX:

* Test
  text 1
  text 2
  text 3

  - list 1
  - list 2
  - list 3

  environment 1
  environment 2

I want to preserve the line breaks to achieve a tex document looking like:

text 1\\
text 2\\
text 3

\item list 1
\item list 2
\item list 3

environment 1\\
environment 2

i.e. I would like to append \\ after each line preceding regular text (for example, it should not be appended before a blank line, \item, or \end{...}).

I can almost achieve this using #+OPTIONS: \n:t but this appends \\ to each line, not just lines preceding regular text. Are there simple ways to achieve this? What configuration settings should I try to play with?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.