Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Latex Beamer Layout Problem

48 views
Skip to first unread message

Richard Pichler

unread,
Jul 14, 2010, 6:15:02 PM7/14/10
to
Hi,

I am preparing a Beamer slide with two simple equations. I wanna include
this in a block as shown below.

\begin{block}{Equation}
\begin{align*}
r &= a + b \\
s &= c + d
\end{align*}
\end{block}

It looks alright, the only problem is that it wastes so much space above
and below the equations. I tried vspace{-2cm} but it did not have any
effect. Any other idea how I could reduce the empty area above and below
the equations. Might it be possible that the block size is fixed and
thats the problem why it takes so much space?

Many thanks for your help

Alan Munn

unread,
Jul 14, 2010, 6:39:14 PM7/14/10
to
In article <i1lcte$u2f$1...@speranza.aioe.org>,
Richard Pichler <Rich...@hotmail.com> wrote:

You can set \abovedisplayskip to a negative value, and \belowdisplayskip
to 0

\abovedisplayskip=-2ex
\belowdisplayskip=0pt

This will give you the same spacing relative to the block title as you
would get in e.g. an itemized list.

Alan

0 new messages