emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing line breaks in Beamer with alltt


From: Jarmo Hurri
Subject: Re: Missing line breaks in Beamer with alltt
Date: Thu, 03 Dec 2020 18:07:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi there.

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Happy to try to help.

I will take you up on that offer! Are you able to replicate the
difference between these two slides?

# 
----------------------------------------------------------------------------------
#+startup: beamer

#+latex_header: \usepackage{alltt}

* A slide with some code
  - =yes= verbatim on this line, line breaks preserved
    #+begin_alltt 
    N=5
    if S\neq I
    #+end_alltt

* Another slide
  - no verbatim on this line, line breaks not preserved
    #+begin_alltt 
    N=5
    if S\neq I
    #+end_alltt

# 
----------------------------------------------------------------------------------

If you are not, then please find attached generated tex.

All the best, and stay safe.

Jarmo

Attachment: beamer-alltt.tex
Description: latex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]