emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Missing line breaks in Beamer with alltt
@ 2020-11-29  9:22 Jarmo Hurri
  2020-11-29 12:33 ` Eric S Fraga
  0 siblings, 1 reply; 8+ messages in thread
From: Jarmo Hurri @ 2020-11-29  9:22 UTC (permalink / raw)
  To: emacs-orgmode


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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-12-04 15:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-29  9:22 Missing line breaks in Beamer with alltt Jarmo Hurri
2020-11-29 12:33 ` 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

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).