In Beamer, I would like to set frame[t]{ ... }
as a global default of frame
.
How is it possible to set the option t
as default?
p.s. I know that it is possible by defining my custom command like framet{ ... }
with \renewcommand
. But I'm looking for another way which achieve it without modifying the name of command frame
, because I'm using LyX.
\documentclass[english,dvipdfmx]{beamer}
\begin{document}
\begin{frame}{Sample Frame 1}
Normally, the text is placed in the middle (default).
\end{frame}
\begin{frame}[t]{Sample Frame 2}
If you set the option `t' to the frame command, the text is placed at the top.
I would like make this as default.
\end{frame}
\end{document}
Best Answer
You can pass the
[t]
option to the class likeso that all frames are
t
op aligned. If any frame needs to be center aligned then use\begin{frame}[c]
(or[b]
forb
ottom alignment) to that single frame.