Re: centering vertically...

Peter Møller Neergaard <[email protected]>
Newsgroups gmane.comp.tex.latex.prosper.user
Message-ID <[email protected]>
On Wed, Jun 04, 2003 at 11:29:32AM +0200, Mathieu CLABAUT wrote:

>  how can I make text be centered vertically on a slide ?
>  I've tried to use \vfill and \vspace{\stretch{1}} around the text, but
>  none of them work.

It would be great if I could be proven wrong, but I don't think that
there is an easy way to achieve this in a general manner.  

The problem is that slides are typeset inside a minipage environment.
Since a minipage does not have a specific size (unlike a page) none of
a \vfill will not make any difference.

So the best you can do is centering it by hand using \vspace.

It would probably be worth putting a feature request in for slides in
a fixed size.

/Peter

-- 
http://www.linearity.org/turtle/contact.html 
``If we're an arrogant nation, they'll resent us.
If we're a humble nation but strong, they'll welcome us.''--George W. Bush


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.