![在 PowerDot 中垂直居中文本](https://linux22.com/image/370173/%E5%9C%A8%20PowerDot%20%E4%B8%AD%E5%9E%82%E7%9B%B4%E5%B1%85%E4%B8%AD%E6%96%87%E6%9C%AC.png)
在 Powerdot 中,我想将所有幻灯片中的所有文本垂直居中。
我认为 \pddefinetemplate
可以与选项一起使用,但我不知道如何使用。
这是我的代码。
\documentclass[style=aggie]{powerdot}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[francais]{babel}
\begin{document}
\begin{wideslide}{Illustration}
I'd like to center vertically my text, in each slide. Thanks a lot
\end{wideslide}
\end{document}
有人能帮助我吗?此致,
答案1
如果您希望所有幻灯片类型都垂直居中,则需要对代码进行太多更改。如果可以使用以下命令,则更容易\Fill
:
\documentclass[style=aggie]{powerdot}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[francais]{babel}
\newcommand\Fill{\vspace*{\fill}\null}
\begin{document}
\begin{wideslide}{Illustration}\Fill
I'd like to center vertically my text, in each slide. Thanks a lot
I'd like to center vertically my text, in each slide. Thanks a lot
I'd like to center vertically my text, in each slide. Thanks a lot
I'd like to center vertically my text, in each slide. Thanks a lot
\Fill
\end{wideslide}
\begin{slide}{Illustration}\Fill
I'd like to center vertically my text, in each slide. Thanks a lot
I'd like to center vertically my text, in each slide. Thanks a lot
\Fill
\end{slide}
\end{document}