05
Jul

Prosper制作幻灯的基本结构

prosper是一个class,就像常用到的artical, book, report一样。一个完整的prosper的文件通常由如下格式写成:

% 粗体为必须内容
% 开始预定义部分

\documentclass[选项]{prosper}

% 定义标题页
\title{文档标题}
\subtitle{副标题}
\author{作者姓名}
\institution{作者所属}
\slideCaption{页脚说明文字}  %出现在每页的下面
%
% 正式开始文档
\begin{document} %和所有的LaTeX文档一样
\maketitle
%
% 第一页内容
\begin{slide}[切换动画模式]{页标题}
% …… 
%页面里的内容
% ……

\end{slide}
% 第一页结束
% ……
% 定义具有动画效果的页面
\overlays{n}{ %n为动画的步骤数
\begin{slide}[切换动画模式]{页标题}
% ……
% 页面内容,里面包含诸如
% fromSlide{p} onlySlide{p}
% 之类的命令来定义动画的动作
% ……

\end{slide}
} %这个括号是对应于overlays的。
% 由overlays扩起来的部分在PDF文件里是一大页,
% 里面含有若干子页,通过子页来实现一页中的“动画”效果。
%
\end{document}
% 全文结束

No Comments

Be the first to comment on this entry.

Leave a comment

Name(required)
Mail (will not be published)(required)
Website

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
URIs must be fully qualified (eg: http://www.dupola.com) and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.