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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
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