emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jarmo Hurri <jarmo.hurri@iki.fi>
To: emacs-orgmode@gnu.org
Subject: Re: Missing line breaks in Beamer with alltt
Date: Thu, 03 Dec 2020 18:07:09 +0200	[thread overview]
Message-ID: <87360meuvm.fsf@iki.fi> (raw)
In-Reply-To: <87im9nyyty.fsf@ucl.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

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
    if S\neq I

* Another slide
  - no verbatim on this line, line breaks not preserved
    if S\neq I

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

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

All the best, and stay safe.


[-- Attachment #2: latex --]
[-- Type: application/x-tex, Size: 1147 bytes --]

% Created 2020-12-03 Thu 18:04
% Intended LaTeX compiler: pdflatex
 pdfcreator={Emacs 27.1 (Org mode 9.4)}, 


\begin{frame}[label={sec:orga545000},fragile]{A slide with some code}
\item \texttt{yes} verbatim on this line, line breaks preserved
if S\(\neq\) I

\begin{frame}[label={sec:org7a9adda}]{Another slide}
\item no verbatim on this line, line breaks not preserved
if S\(\neq\) I

  reply	other threads:[~2020-12-03 16:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-29  9:22 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 [this message]
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:

  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=87360meuvm.fsf@iki.fi \
    --to=jarmo.hurri@iki.fi \
    --cc=emacs-orgmode@gnu.org \


* 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


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