Page Layoutalternative to manually inserting vspace everywhere.

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
dl3fo3
Posts: 10
Joined: Mon Jan 05, 2009 4:35 pm

alternative to manually inserting vspace everywhere.

Post by dl3fo3 »

I'm creating a document for presentation (beamer) and one of the things required for beauty reason is that there should not be too much empty space at the bottom or at the top of each slide. So I add \vspace manually like this:

Code: Select all

\begin{frame}
\begin{definition}
  \begin{itemize}
   \item blah blah blah blah
   \vspace{0.2in}
   \item blah blah blah
   \vspace{0.2in}
   \item blah blah blah blah
  \end{itemize}
\end{definition}

\vspace{0.3in}

\begin{theorem}
  blah blah blah blah
\end{theorem}

\vspace{0.3in}

\begin{theorem}
  blah blah blah blah
\end{theorem}
\end{frame}
Is there alternative ways somehow less manual?

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10323
Joined: Mon Mar 10, 2008 9:44 pm

alternative to manually inserting vspace everywhere.

Post by Stefan Kottwitz »

To remove the space at the top of a slide you could use the t option:

Code: Select all

\begin{frame}[t]
...
For using the full page you could insert \vfill between theorems and other parts of text instead of this \vspace.

Stefan
LaTeX.org admin
Post Reply