GeneralAvoiding empty lines!

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
avp3000
Posts: 49
Joined: Thu Nov 15, 2007 4:22 pm

Avoiding empty lines!

Post by avp3000 »

Hi all,

When using many environments, such as "center", "itemize", "align" etc. 1 empty line appears infront and and one after the environment in order to separate it from the rest of the document. What I would like to do is to avoid these empty lines. Here's my example:

Code: Select all

\Heading{I. Ineffizienz und Negative Externalitäten\pause}

Zwei Agenten: $A$, $B$\pause\\
Zwei Güter: “Rauchen”, “Geld”\pause
\bxi
  \item $A$ ist Raucher; $B$ Nichtraucher.\pause
  \item Passives Rauchen ist fur $B$ ein Übel.\pause
\exi

Rauchen ist ein rein öffentliches Gut (etwa weil sich $A$ und $B$ ein Buro teilen).

I am using the "foils" package in order to make a presentation and this is one slide of it. The problem here is, that the \pause command (which is necessary when I process the document with ppower4 later) inserts an empty line and in combination with the "itemize" environment (\bxi resp. \exi means \begin{itemize} resp. \end{itemize}) 2 instead of 1 empty line appear between the last item of the list and the last sentence of the slide. Is there a way to avoid this? Thank you!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Avoiding empty lines!

Post by localghost »

avp3000 wrote:[…] Is there a way to avoid this? […]
Change to modern presentation classes like beamer or powerdot. Creating presentations with these classes is much easier. Refer to the documentations to learn more.


Best regards
Thorsten¹
Post Reply