当我编译下面的代码时,每张幻灯片的第一行与顶部的距离不一致。我希望每张幻灯片的第一行距离相同(垂直顶部对齐)。我不喜欢使用 beamer。
\documentclass[landscape]{slides}
\begin{document}
First slide first line
First slide second line
\newpage
Second slide first line
Second slide second line
Second slide third line
\end{document}
答案1
虽然它很丑,但是却很管用。
\documentclass[landscape]{slides}
\begin{document}
\begin{minipage}[c][\textheight][t]{\textwidth}
First slide first line
First slide second line
\end{minipage}\newpage
\begin{minipage}[c][\textheight][t]{\textwidth}
Second slide first line
Second slide second line
Second slide third line
\end{minipage}
\end{document}