From: Jarmo Hurri <jarmo.hurri@iki.fi>
To: emacs-orgmode@gnu.org
Subject: Missing line breaks in Beamer with alltt
Date: Sun, 29 Nov 2020 11:22:30 +0200 [thread overview]
Message-ID: <87v9do8qll.fsf@iki.fi> (raw)
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
next reply other threads:[~2020-11-29 9:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-29 9:22 Jarmo Hurri [this message]
2020-11-29 12:33 ` Missing line breaks in Beamer with alltt Eric S Fraga
2020-11-30 5:03 ` Jarmo Hurri
2020-11-30 9:32 ` Eric S Fraga
2020-12-03 16:07 ` Jarmo Hurri
2020-12-03 16:38 ` Eric S Fraga
2020-12-04 14:03 ` Jarmo Hurri
2020-12-04 15:17 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v9do8qll.fsf@iki.fi \
--to=jarmo.hurri@iki.fi \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).