Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a beamer related question. I am using [shrink=50] command to shrink a frame. I want the shrunk frame to be center aligned but by default it is aligned left of the slide. How do I do this?

\documentclass{beamer}
\usetheme{Warsaw}
\begin{document}
\begin{frame}[shrink=50]
\textbf{Title of the slide}
\vskip10pt
Hi
\end{frame}
\end{document}
share|improve this question
    
I assume you've read Till Tantau's advice: "Never ever use the evil option shrink." –  Gonzalo Medina Dec 2 '11 at 2:22
1  
You can just wrap the contents in a center environment. –  Werner Dec 2 '11 at 2:26
    
:D that worked. My question sounds so stupid now. I tried all sorts of things except this. –  John Smith Dec 2 '11 at 2:32

1 Answer 1

As I mentioned in a comment, Till Tantau advices: "Never ever use the evil option shrink."

That being said, you can the \centering command or the center environment to get the desired horizontal centering:

\documentclass{beamer}
\usetheme{Warsaw}
\begin{document}
\begin{frame}[shrink=50]
\centering
\textbf{Title of the slide}
\vskip10pt
Hi\par
\end{frame}
\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.