Re: How to reduce code lineheight in LaTeX Beamer

2023-12-11 Thread Herbert Voss



Am 11.12.23 um 15:11 schrieb Herbert Voss:



Am 10.12.23 um 23:09 schrieb Steve Litt:

Hi all,

I'm using Beamer straight with LaTeX (no LyX). There's too much space
between lines of code, so it makes the code hard to read and also
pushes other content down too far. The following is a frame from my
presentation:

\begin{frame} [fragile]
    \frametitle{How to Design BNF}
    \begin{semiverbatim}


semiverbatim causes an error if used with [fragile], it works without it.


    wholefile ::= chunk | wholefile chunk
    chunk ::= paratext multinewline
    multinewline ::= NL NL | multinewline NL
    \end{semiverbatim}
\end{frame}

How can I reduce the space between lines of this code?


I cannot see it ... and a  working minimal example makes sense here ...


Sorry, herre is the  correct screenshot

Herbert

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to reduce code lineheight in LaTeX Beamer

2023-12-11 Thread Herbert Voss



Am 10.12.23 um 23:09 schrieb Steve Litt:

Hi all,

I'm using Beamer straight with LaTeX (no LyX). There's too much space
between lines of code, so it makes the code hard to read and also
pushes other content down too far. The following is a frame from my
presentation:

\begin{frame} [fragile]
\frametitle{How to Design BNF}
\begin{semiverbatim}


semiverbatim causes an error if used with [fragile], it works without it.


wholefile ::= chunk | wholefile chunk
chunk ::= paratext multinewline
multinewline ::= NL NL | multinewline NL
\end{semiverbatim}
\end{frame}

How can I reduce the space between lines of this code?


I cannot see it ... and a  working minimal example makes sense here ...

Herbert
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


How to reduce code lineheight in LaTeX Beamer

2023-12-10 Thread Steve Litt
Hi all,

I'm using Beamer straight with LaTeX (no LyX). There's too much space
between lines of code, so it makes the code hard to read and also
pushes other content down too far. The following is a frame from my
presentation:

\begin{frame} [fragile]
\frametitle{How to Design BNF}
\begin{semiverbatim}
wholefile ::= chunk | wholefile chunk
chunk ::= paratext multinewline
multinewline ::= NL NL | multinewline NL
\end{semiverbatim}
\end{frame}

How can I reduce the space between lines of this code?

Thanks,

SteveT

Steve Litt 

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users