Greetings.
Any ideas?
#
----------------------------------------------------------------------------------
#+startup: beamer
#+latex_header: \usepackage{alltt}
* A slide with some code
- export to beamer pdf with =C-e l O=
- line breaks disappear from this:
#+begin_alltt
x \in {0, 1, ..., n}
z \leftarrow x + 1
#+end_alltt
* An effort to fix this
- tip from
https://tex.stackexchange.com/questions/68064/beamer-alltt-environment-and-only
- the effort is here, but the end result is an error
#+begin_src latex
\defverbatim\SomeCode{
\begin{alltt}
x \in {0, 1, ..., n}
z \leftarrow x + 1
\end{alltt}
}
#+end_src
\SomeCode
#
----------------------------------------------------------------------------------
All the best, and stay safe.
Jarmo