latex幻灯片模板
- 格式:doc
- 大小:44.00 KB
- 文档页数:5
01课件简介Chapter目的与背景教学目的应用背景课件内容与结构内容概述本课件将介绍LaTeX PPT的基本概念和制作方法,包括幻灯片的结构、样式设计、图表插入、动画效果等。
结构安排课件按照由浅入深的顺序,首先介绍LaTeX PPT的基础知识,然后逐步深入讲解各种高级功能和技巧,最后提供实际案例和练习,帮助学习者掌握LaTeX PPT的制作方法。
学习目标与要求学习目标学习要求02 LaTeXChapterLaTeX是一种基于TeX的排版系统,由美国计算机学家Leslie Lamport于20世纪80年代初期开发。
LaTeX广泛应用于生成高印刷质量的科技和数学类文档,也适用于生成包含复杂表格和图形的幻灯片。
LaTeX的历史可以追溯到TeX,这是一种由Donald Knuth开发的排版语言,旨在解决数学公式在文档中的排版问题。
010203 LaTeX简介与历史LaTeX安装与配置基本语法与结构010203010203常用命令包括文本格式化命令(如textbf{}、emph{}等)、数学公式命令(如$、$$等)、图表命令等。
常用环境包括列表环境(如itemize、enumerate等)、数学环境(如equation、align等)、表格环境等。
LaTeX还提供了许多宏包,用于扩展LaTeX的功能,如插入图片、制作幻灯片、绘制图形等。
常用命令与环境03文本编辑与排版技巧Chapter1 2 3输入特殊字符文本格式化注释与取消注释文本输入与格式化段落设置与对齐方式段落缩进与间距调整段落的首行缩进、行距等排版参数。
对齐方式设置文本的对齐方式,如左对齐、右对齐、居中对齐等。
分栏排版将文本分为多栏进行排版,适用于长篇文章或需要对比展示的内容。
无序列表使用itemize 环境创建无序列表,通过item 命令添加列表项。
有序列表使用enumerate 环境创建有序列表,同样通过item 命令添加列表项,并自动编号。
latexPPT模板模板⼀%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % beamer template made by 李会% 2019-7-12 at Taiyuan,China% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%----------------------------------------------------------------------------------------% PACKAGES AND THEMES%----------------------------------------------------------------------------------------\documentclass{beamer}\mode<presentation> {% The Beamer class comes with a number of default slide themes% which change the colors and layouts of slides. Below this is a list% of all the themes, uncomment each in turn to see what they look like.%\usetheme{default}%\usetheme{AnnArbor} %⽐较好看%\usetheme{Antibes}%\usetheme{Bergen}%\usetheme{Berkeley}%\usetheme{Berlin}%\usetheme{Boadilla}\usetheme{CambridgeUS} %⽐较好看%\usetheme{Copenhagen}%\usetheme{Darmstadt} %还⾏%\usetheme{Dresden}%\usetheme{Frankfurt} %还⾏%\usetheme{Goettingen} %⽐较好看%\usetheme{Hannover}%\usetheme{Ilmenau}%\usetheme{JuanLesPins}%\usetheme{Luebeck} %⽐较好%\usetheme{Madrid}%\usetheme{Malmoe}%\usetheme{Marburg} %⽐较好%\usetheme{Montpellier}%\usetheme{PaloAlto}%\usetheme{Pittsburgh}%\usetheme{Rochester}%\usetheme{Singapore}%\usetheme{Szeged}%\usetheme{Warsaw}% As well as themes, the Beamer class has a number of color themes% for any slide theme. Uncomment each of these in turn to see how it% changes the colors of your current slide theme.%\usecolortheme{albatross}%\usecolortheme{beaver}%\usecolortheme{beetle}%\usecolortheme{crane}%\usecolortheme{dolphin}%\usecolortheme{dove}%\usecolortheme{fly}%\usecolortheme{lily}%\usecolortheme{orchid}%\usecolortheme{rose}%\usecolortheme{seagull}%\usecolortheme{seahorse}%\usecolortheme{whale}\usecolortheme{wolverine}%\setbeamertemplate{footline} % To remove the footer line in all slides uncomment this line%\setbeamertemplate{footline}[page number] % To replace the footer line in all slides with a simple slide count uncomment this line%\setbeamertemplate{navigation symbols}{} % To remove the navigation symbols from the bottom of all slides uncomment this line}\usepackage{graphicx} % Allows including images\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables\usepackage[UTF8,noindent]{ctexcap} %使⽤中⽂输⼊及显⽰%\usepackage[bookmarks=true,colorlinks,linkcolor=black]{hyperref} %pdf显⽰书签\usepackage[bookmarks=true]{hyperref}%----------------------------------------------------------------------------------------% TITLE PAGE%----------------------------------------------------------------------------------------\title[Short title]{Full Title of the Talk} % The short title appears at the bottom of every slide, the full title is only on the title page\author{李会} % Your name\institute[CIRP] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space{China Institute of Radiation Protection \\ % Your institution for the title page\medskip\textit{hrbeulh@} % Your email address}\date{\today} % Date, can be changed to a custom date\begin{document}\begin{frame}\titlepage % Print the title page as the first slide\end{frame}\begin{frame}\frametitle{Overview} % Table of contents slide, comment this block out to remove it\tableofcontents % Throughout your presentation, if you choose to use \section{} and \subsection{} commands, these will automatically be printed on this slide as an overview of your presentation\end{frame}%----------------------------------------------------------------------------------------% PRESENTATION SLIDES%----------------------------------------------------------------------------------------%------------------------------------------------\section{First Section} % Sections can be created in order to organize your presentation into discrete blocks, all sections and subsections are automatically printed in the table of contents as an overview of the talk%------------------------------------------------\subsection{Subsection Example 1} % A subsection can be created just before a set of slides with a common theme to further break down your presentation into chunks\begin{frame}\frametitle{Paragraphs of Text}Sed iaculis dapibus gravida. Morbi sed tortor erat, nec interdum arcu. Sed id lorem lectus. Quisque viverra augue id sem ornare non aliquam nibh tristique. Aenean in ligula nisl. Nulla sed tellus ipsum. Donec vestibulum ligula non lorem vulputate fermentum accumsan neque mollis.\\~\\Sed diam enim, sagittis nec condimentum sit amet, ullamcorper sit amet libero. Aliquam vel dui orci, a porta odio. Nullam id suscipit ipsum. Aenean lobortis commodo sem, ut commodo leo gravida vitae. Pellentesque vehicula ante iaculis arcu pretium rutrum eget sit amet purus. Integer ornare nulla quis neque ultrices lobortis. Vestibulum ultrices tincidunt libero, quis commodo erat ullamcorper id.\end{frame}%------------------------------------------------\subsection{Subsection Example 2}\begin{frame}\frametitle{Bullet Points}\begin{itemize}\item Lorem ipsum dolor sit amet, consectetur adipiscing elit\item Aliquam blandit faucibus nisi, sit amet dapibus enim tempus eu\item Nulla commodo, erat quis gravida posuere, elit lacus lobortis est, quis porttitor odio mauris at libero\item Nam cursus est eget velit posuere pellentesque\item Vestibulum faucibus velit a augue condimentum quis convallis nulla gravida\end{itemize}\end{frame}%------------------------------------------------\begin{frame}\frametitle{Blocks of Highlighted Text}\begin{block}{Block 1}Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus nisl, ultricies in feugiat rutrum, porttitor sit amet augue. Aliquam ut tortor mauris. Sed volutpat ante purus, quis accumsan dolor.\end{block}\begin{block}{Block 2}Pellentesque sed tellus purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Vestibulum quis magna at risus dictum tempor eu vitae velit.\end{block}\begin{block}{Block 3}Suspendisse tincidunt sagittis gravida. Curabitur condimentum, enim sed venenatis rutrum, ipsum neque consectetur orci, sed blandit justo nisi ac lacus.\end{block}\end{frame}%------------------------------------------------\begin{frame}\frametitle{Multiple Columns}\begin{columns}[c] % The "c" option specifies centered vertical alignment while the "t" option is used for top vertical alignment\column{.45\textwidth} % Left column and width\textbf{Heading}\begin{enumerate}\item Statement\item Explanation\item Example\end{enumerate}\column{.5\textwidth} % Right column and widthLorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus nisl, ultricies in feugiat rutrum, porttitor sit amet augue. Aliquam ut tortor mauris. Sed volutpat ante purus, quis accumsan dolor.\end{columns}\end{frame}%------------------------------------------------\section{Second Section}%------------------------------------------------\begin{frame}\frametitle{Table}\begin{table}\begin{tabular}{l l l}\toprule\textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2}\\\midruleTreatment 1 & 0.0003262 & 0.562 \\Treatment 2 & 0.0015681 & 0.910 \\Treatment 3 & 0.0009271 & 0.296 \\\bottomrule\end{tabular}\caption{Table caption}\end{table}\end{frame}%------------------------------------------------\begin{frame}\frametitle{Theorem}\begin{theorem}[Mass--energy equivalence]$E = mc^2$\end{theorem}\end{frame}%------------------------------------------------\begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide\frametitle{Verbatim}\begin{example}[Theorem Slide Code]\begin{verbatim}\begin{frame}\frametitle{Theorem}\begin{theorem}[Mass--energy equivalence]$E = mc^2$\end{theorem}\end{frame}\end{verbatim}\end{example}\end{frame}%------------------------------------------------\begin{frame}\frametitle{Figure}Uncomment the code on this slide to include your own image from the same directory as the template .TeX file.%\begin{figure}%\includegraphics[width=0.8\linewidth]{test}%\end{figure}\end{frame}%------------------------------------------------\begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide\frametitle{Citation}An example of the \verb|\cite| command to cite within the presentation:\\~This statement requires citation \cite{p1}.\end{frame}%------------------------------------------------\section{Third Section}%------------------------------------------------%------------------------------------------------\begin{frame}\frametitle{References}\footnotesize{\begin{thebibliography}{99} % Beamer does not support BibTeX so references must be inserted manually as below\bibitem[Smith, 2012]{p1} John Smith (2012)\newblock Title of the publication\newblock \emph{Journal Name} 12(3), 45 -- 678.\end{thebibliography}}\end{frame}%------------------------------------------------%\begin{frame}%\frametitle{Figure}%\begin{center}%\includegraphics[width=0.5\linewidth]{Fig10} %插⼊图⽚%\includegraphics[width=1.0\linewidth]{Fig10}%\end{center}%\end{frame}%------------------------------------------------\begin{frame}\Huge{\centerline{The End. Any advice?}}\end{frame}%----------------------------------------------------------------------------------------\end{document}--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------模板⼆% !Mode:: "TeX:UTF-8"%% 使⽤ XeLaTeX 编译.\documentclass[notheorems,mathserif,table]{beamer}\useoutertheme[height=0.1\textwidth,width=0.15\textwidth,hideothersubsections]{sidebar}\usecolortheme{dolphin} % Outer color themes, 其他选择: whale, seahorse, dolphin . 换⼀个编译看看有什么不同.\usecolortheme{lily} % Inner color themes, 其他选择: lily, orchid\useinnertheme[shadow]{rounded} % 对 box 的设置: 圆⾓、有阴影.\setbeamercolor{sidebar}{bg=blue!50} % sidebar的颜⾊, 50%的蓝⾊.\setbeamercolor{background canvas}{bg=cyan!9} % 背景⾊, 9%的蓝⾊. 去掉下⼀⾏, 试⼀试这个.\setbeamertemplate{background canvas}[vertical shading][bottom=white,top=structure.fg!25] %%背景⾊, 上25%的蓝, 过渡到下⽩. \usefonttheme{serif} % 字体. 个⼈偏好有轮廓的字体. 去掉这个设置编译, 就看到不同了.\setbeamertemplate{navigation symbols}{} %% 去掉页⾯下⽅默认的导航条.\usepackage{ragged2e}\justifying\let\raggedright\justifying%%------------------------常⽤宏包---------------------------------------------------------------------%%注意, beamer 会默认使⽤下列宏包: amsthm, graphicx, hyperref, color, xcolor, 等等\usepackage[UTF8]{ctex}\hypersetup{CJKbookmarks=true}\usepackage{subfigure} %%图形或表格并排排列\usepackage{colortbl,dcolumn} %% 彩⾊表格\usepackage{xcolor}\usepackage{lineno}% amsmath package, useful for mathematical formulas%\usepackage{multirow}\usepackage{amsmath}\usepackage{xcolor}\usepackage{bm}% amssymb package, useful for mathematical symbols\usepackage{amssymb}\usepackage{subfigure}% graphicx package, useful for including eps and pdf graphics% include graphics with the command \includegraphics\usepackage{graphicx}%\graphicspath{{note/figure/}{note/image}{./image/}}\graphicspath{{figures/}} %% 图⽚路径. 本⽂的图⽚都放在这个⽂件夹⾥了.%\usepackage{epstopdf}\usepackage{multirow}\usepackage{url}% cite package, to clean up citations in the main text. Do not remove.%\usepackage{cite}\usepackage{color}%\usepackage{lineno}% Use doublespacing - comment out for single spacing\usepackage{setspace}%\doublespacing\usepackage[square, comma, sort&compress, numbers]{natbib}%\usepackage{ulem}\usepackage{color}\usepackage{algorithm}\usepackage{algorithmicx}\usepackage{algpseudocode}\usepackage{amsmath}\floatname{algorithm}{Algorithm}\renewcommand{\algorithmicrequire}{\textbf{Input:}}\renewcommand{\algorithmicensure}{\textbf{Output:}}\newcommand{\tabincell}[2]{\begin{tabular}{@{}#1@{}}#2\end{tabular}}% correct bad hyphenation here\hyphenation{op-tical net-works semi-conduc-tor}\logo{\includegraphics[height=0.09\textwidth]{SCUEC.png}}%% 民⼤校徽, MetaPost ⽂件.%\renewcommand{\raggedright}{\leftskip=0pt \rightskip=0pt plus 0cm}%\raggedright %% 中⽂对齐\def\hilite<#1>{\temporal<#1>{\color{blue!35}}{\color{magenta}}{\color{blue!75}}}%% ⾃定义命令, 源⾃ beamer_guide. item 逐步显⽰时, 使已经出现的item、正在显⽰的item、将要出现的item 呈现不同颜⾊.\newcolumntype{H}{>{\columncolor{blue!20}}c} %% 表格设置%==================================参考⽂献==============================================================\newcommand{\upcite}[1]{\textsuperscript{\cite{#1}}} %⾃定义命令\upcite, 使参考⽂献引⽤以上标出现\bibliographystyle{plain}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%重定义字体、字号命令%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document}%%----------------------- Theorems ---------------------------------------------------------------------\newtheorem{theorem}{定理}\newtheorem{definition}{定义}\newtheorem{lemma}{引理}\newtheorem{corollary}{推论}\newtheorem{proposition}{性质}\newtheorem{example}{例}\newtheorem{remark}{注}\renewcommand\figurename{\rm 图}\renewcommand\tablename{\bf 表}%%----------------------------------------------------------------------------------------------------\title{\heiti Latex制作ppt}\author[\textcolor{white}{\songti 作者~胡怀飞}]{\songti 作者~~\textcolor{olive}{胡怀飞}}\institute{\zihao{5} \lishu \textcolor{violet}{中南民族⼤学~~⽣物医学⼯程学院}}\date{\today}%%---------------------------------------------------------------------------------------------------\section*{⽬录}\frame{\frametitle{⽬录}\tableofcontents}%%===================================================================================================\section{简介}%%---------------------------------------------------------------------------------------------------\begin{frame}\frametitle{这是latex制作的ppt}latex与word,ppt是⽬前⽤得最多得排版⼯具。
01引言Chapter目的和背景目的背景适用范围和使用方法适用范围使用方法02 LaTeXChapterLaTeX概述LaTeX安装与配置编辑器选择及使用技巧03PPT制作要素与规范Chapter01020304统一使用相同的字体、字号、行间距等排版元素,确保整体风格一致。
保持一致性避免过多的文字和图片,突出关键信息,保持页面整洁。
简洁明了通过标题、副标题、正文等层次结构,使内容条理清晰,易于理解。
层次感合理安排页面元素的位置和大小,保持页面平衡和谐。
对齐与平衡页面布局与排版原则色彩搭配与视觉效果提升色彩选择对比度背景与前景图片与图标01020304图表类型选择简洁明了数据准确性数据可视化技巧图表制作及数据可视化方法04 LaTeXChapter主题突出背景简洁Logo 和标题030201封面设计目录结构设置层次分明导航清晰链接跳转正文内容编排技巧图文并茂文字简练结合图片、图表等可视化元素展示数据和信息,提高观众理解度。
突出重点图表插入与编辑方法选择合适图表类型根据数据特点选择合适的图表类型,如柱状图、折线图、饼图等。
数据编辑与格式化在LaTeX中编辑数据,设置图表标题、坐标轴标签等,使图表更加直观易懂。
图表美化调整图表颜色、线条粗细等样式,提升图表美观度。
05常见问题解决方案及优化建议Chapter编译错误处理策略确保LaTeX代码语法正确,特别是命令、环境、括号等。
编译错误时,查看LaTeX编译器提供的错误提示信息,定位问题所在。
将代码分块,逐步排查问题,缩小错误范围。
利用在线LaTeX编辑器或排错工具,检查并修正代码错误。
检查语法错误查看错误提示逐步排查使用在线工具保持一致性在整篇文档中保持字体、字号的一致性,避免过多的样式变化。
字体选择使用`usepackage{fontspec}`命令加载字体包,通过`setmainfont{FontName}`设置主字体。
字号调整使用`fontsize{size}{baselineskip}`命令设置字号和行间距,其中`size`为字号大小,`baselineskip`为行间距。
\documentclass[CJK]{beamer}%%Copyright2004byYuHaijun<************>%%%% 这个文件的目的使为了给大家提供一个使用beamer的快速模板%%% Local Variables:%%% mode: latex%%% TeX-master: t%%% End:\mode<article> % 仅应用于article版本{\usepackage{beamerbasearticle}\usepackage{fullpage}\usepackage{hyperref}}%% 下面的包控制beamer的风格,可以根据自己的爱好修改%\usepackage{beamerthemesplit} % 使用split风格\usepackage{beamerthemeshadow} % 使用shadow风格\usepackage[width=2cm,dark,tab]{beamerthemesidebar}%% 这些包是可能会用到的,不必修改\usepackage{CJK}\usepackage{pgf,pgfarrows,pgfnodes,pgfautomata,pgfheaps}\usepackage{amsmath,amssymb}\usepackage{graphicx}\usepackage{multimedia}%% 下面的代码用来读入Logo图象\pgfdeclaremask{logomask}{pku-tower-lake-mask}\pgfdeclareimage[mask=logomask,width=1.8cm]{logo}{pku-tower-lake}\pgfdeclaremask{beidamask}{beida-mark-mask}\pgfdeclareimage[mask=beidamask,totalheight=0.25cm]{beida}{beida-mark}\pgfdeclaremask{titlemask}{pku-lake2-mask}\pgfdeclareimage[mask=titlemask,height=2.5cm]{title}{pku-lake2}\logo{\vbox{\hbox{\pgfuseimage{logo}\hfill}}} %设置logo图标%% 定义一些自选的模板,包括背景、图标、导航条和页脚等,修改要慎重\beamertemplateshadingbackground{red!10}{structure!10}%\beamertemplatesolidbackgroundcolor{white!90!blue}\beamertemplatetransparentcovereddynamic\beamertemplateballitem\beamertemplatenumberedballsectiontoc%\beamertemplatelargetitlepage\beamertemplateboldpartpage%% \makeatletter%% \usefoottemplate{ %重新定义页脚,加入作者,单位,单位图标,和文档标题%% \vbox{\tiny%%% \hbox{%%% \setbox\beamer@linebox=\hbox to\paperwidth{%%% \hboxto.5\paperwidth{\hfill\tiny\color{white}\textbf{\insertshortauthor\quad\insertshortins titute}\hskip.1cm\lower 0.35em\hbox{\pgfuseimage{beida}}\hskip.3cm}%%% \hboxto.5\paperwidth{\hskip.3cm\tiny\color{white}\textbf{\insertshorttitle}\hfill}\hfill}% %% \ht\beamer@linebox=2.625ex%%% \dp\beamer@linebox=0pt%%% \setbox\beamer@linebox=\vbox{\box\beamer@linebox\vskip1.125ex}% %% \color{structure}\hskip-\Gm@lmargin\vrule width.5\paperwidth%% height\ht\beamer@linebox\color{structure!70}\vrule width.5\paperwidth %% height\ht\beamer@linebox\hskip-\paperwidth%%% \hbox{\box\beamer@linebox\hfill}\hfill\hskip-\Gm@rmargin}%% }%% }%% \makeatother%\beamersetuncovermixins% 改变遮挡部分在遮挡前后的透明程度%{\opaqueness<1>{15}\opaqueness<2>{10}\opaqueness<3>{85}\opaqueness<4->{2}}%%{\opaqueness<1->{15}}%%%%% 自己的预定义命令和宏放在这里%%%%%% 文档从这里正式开始%% 使用\part,\section,\subsection等命令组织文档结构%% 使用\frame命令制作幻灯片%%\begin{document}\begin{CJK*}{GBK}{fs}\defverbatim\beamerEX{\begin{verbatim}\documentclass{beamer}\usepackage{beamerthemesplit}\title{Example Presentation Created with Beamer}\author{Till Tantau}\date{\today}\begin{document}\frame{\titlepage}\section*{Outline}\frame{\tableofcontents}\section{Introduction}\subsection{Overview of the Beamer Class}\frame {\frametitle{Features of the Beamer Class}\begin{itemize}\item<1-> Normal LaTeX class.\item<2-> Easy overlays.\item<3-> No external programs needed.\end{itemize}}\end{document}\end{verbatim}}%%%% 填写作者,单位,日期,标题等文档信息%%\title{使用Beamer制作Slide入门}\subtitle{Beamer - The~\LaTeX~Document~Class}\author{于海军}\institute[DSEC, CCSE, at PKU]{Department of Science and Engineering Computing\\School of Mathematics School\\Peking University}\date[ND,2004]{Development in National Day, 2004}\subject{Computer Tools, TeX, Slide}\titlegraphic{\pgfuseimage{title}}%%%% 定义框架页%%\AtBeginSection[]{ % 在每个Section前都会加入的Frame \frame<handout:0>{\frametitle{框架}\tableofcontents[current,currentsubsection]}}\AtBeginSubsection[] % 在每个子段落之前{\frame<handout:0> % handout:0 表示只在手稿中出现 {\frametitle{框架}\tableofcontents[current,currentsubsection] % 显示在目录中加亮的当前章节 }}\frame{\titlepage}\section*{提纲} % section后面加*表示不收录到目录中\frame{\frametitle{\secname}\tableofcontents % 使用这个命令自动生成目录}\section{Slide的基本概念}\frame{\frametitle{\secname}\begin{description}\item[何谓幻灯片]所谓Slide就是幻灯片的意思,是一种类似照片底片的透明胶片 \item[幻灯片的作用]帮助演讲者向听众传达文字、图片甚至动画、声音等信息\item[幻灯片的优点]省去演讲者抄写时间\\表达更准确,更直观\\采用计算机,能传达更丰富的内容\end{description}}\subsection{Slide的实现方式}\frame{\frametitle{\subsecname}\begin{itemize}\item<+-> 所见即所得的工具\begin{enumerate}\item Powerpoint\item Magick Point\end{enumerate}\item<+-> 基于\TeX 和PDF的实现\begin{enumerate}[<+->]\item Beamer\item Foiltex\item ConTeXt\item prosper\item pdfscreen\end{enumerate}\end{itemize}}\subsection{\TeX Slide实现的特点}\frame<1-4>[<+-| alert@+>][label=math]{\frametitle{\subsecname}\begin{enumerate}\item 基于PDF文件格式,不需要专门放映工具,流通性强\item<+-| alert@2,5> 使用\TeX,处理数学公式方便\begin{equation}\label{eq1}\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty}e^{- {x^2} \over 2}\,dx = 1 \end{equation}\only<5>{\hyperlink{jumptofifth}{\beamerreturnbutton{返回}}}\item 足够用的动态效果\item 纯文本文件,便于处理和传播\end{enumerate}}\section{Beamer文件的框架}\subsection{逻辑和内容的独立}\frame{\frametitle{\secname}\begin{itemize}\item 使用part,section,subsection等命令组织逻辑结构 \item 使用frame命令组织内容\end{itemize}}\subsection{内容和显示效果的独立}\frame{\frametitle{\subsecname}\begin{itemize}\item 使用themes,template,logo改变缺省风格\item 使用overlay选项控制临时效果\item 通过文档类选项控制输出格式等\end{itemize}}\section{Beamer效果演示}\subsection{逐行显示的实现}\frame{\frametitle{\subsecname}\begin{itemize}[<+-| alert@+>]\item 这一段在第一个Slide上显示,并被加亮\item 这一段在第二个Slide上显示,并被加亮\item 这一段在第三个Slide上显示,并被加亮\end{itemize}}\subsection{字体和色彩的演示}\frame{\frametitle{\subsecname}{\textbf<1> 1. \alt<1>{\CJKfamily{hei}这是黑体在第一张上}%可以为中文的字体变换定义一个宏{\CJKfamily{fs}这是黑体在第一张上} \\}{\textit<2> 2. \CJKfamily{song}这是斜体,在第二张上\\}{\color<3>[rgb]{1,0,0} 3. 这些文字是在第3张幻灯片上是红色的,其它是黑色的。
\documentclass[CJK,notheorems,mathserif,table]{beamer}\useoutertheme[height=0.1\textwidth,width=0.15\textwidth,hideothersubsections]{sidebar}\usecolortheme{whale} % Outer color themes, 其他选择: whale, seahorse, dolphin . 换一个编译看看有什么不同.\usecolortheme{orchid} % Inner color themes, 其他选择: lily, orchid\useinnertheme[shadow]{rounded} % 对box 的设置: 圆角、有阴影.\setbeamercolor{sidebar}{bg=blue!60} % sidebar的颜色, 50%的蓝色.\setbeamercolor{background canvas}{bg=blue!9} % 背景色, 9%的蓝色. 去掉下一行, 试一试这个.\setbeamertemplate{background canvas}[vertical shading][bottom=white,top=structure.fg!25] %%背景色, 上25%的蓝, 过渡到下白.\usefonttheme{serif} % 字体. 个人偏好有轮廓的字体. 去掉这个设置编译, 就看到不同了. \setbeamertemplate{navigation symbols}{} %% 去掉页面下方默认的导航条.%%------------------------常用宏包---------------------------------------------------------------------%%注意, beamer 会默认使用下列宏包: amsthm, graphicx, hyperref, color, xcolor, 等等\usepackage{CJK}\usepackage{amsmath,amsthm,amsfonts,amssymb,bm}%\usepackage{ntheorem}\usepackage{mathrsfs}\usepackage{subfigure} %%图形或表格并排排列\usepackage{xmpmulti} %%支持文中的\multiinclude 等命令, 使mp 文件逐帧出现. 具体讨论见beamer 手册.\usepackage{colortbl,dcolumn} %% 彩色表格\usepackage{graphicx}%\logo{\includegraphics[height=1in\textwidth]{ustc.eps}} %左上角科大logo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%重定义字体、字号命令%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\newcommand{\songti}{\CJKfamily{song}} % 宋体\newcommand{\fangsong}{\CJKfamily{fs}} % 仿宋体\newcommand{\kaishu}{\CJKfamily{kai}} % 楷体\newcommand{\heiti}{\CJKfamily{hei}} % 黑体\newcommand{\lishu}{\CJKfamily{li}} % 隶书\newcommand{\youyuang}{\CJKfamily{you}} % 幼圆\newcommand{\sihao}{\fontsize{14pt}{\baselineskip}\selectfont} % 字号设置\newcommand{\xiaosihao}{\fontsize{12pt}{\baselineskip}\selectfont} % 字号设置\newcommand{\wuhao}{\fontsize{10.5pt}{\baselineskip}\selectfont} % 字号设置\newcommand{\xiaowuhao}{\fontsize{9pt}{\baselineskip}\selectfont} % 字号设置\newcommand{\liuhao}{\fontsize{7.875pt}{\baselineskip}\selectfont} % 字号设置\newcommand{\qihao}{\fontsize{5.25pt}{\baselineskip}\selectfont} % 字号设置\newcommand{\bahao}{\fontsize{4.5pt}{\baselineskip}\selectfont} % 字号设置%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\begin{document}\begin{CJK*}{GBK}{kai}%%----------------------- Theorems ---------------------------------------------------------------------\newtheorem{theorem}{定理}\newtheorem{definition}{定义}\newtheorem{lemma}{引理}%%----------------------------------------------------------------------------------------------------\title{\heiti 题目}\author[\textcolor{white}{\songti 作者}]{{\songti 报告人~\textcolor{olive}{XXX}}\\{\songti 指导教师~~\textcolor{olive}{XXX}}}\institute{\wuhao \lishu \textcolor{violet}{XX实验室}}\date{12-26 2012}\frame{ \titlepage }%%---------------------------------------------------------------------------------------------------\section*{内容概览}\frame{\frametitle{目录}\tableofcontents}%%============================================================================ =======================\section{研究内容与方法}%任意两行单列线表示一张ppt%%---------------------------------------------------------------------------------------------------\begin{frame}\frametitle{西江月·顷在黄州}\begin{itemize}\item 顷在黄州,春夜行蕲水中,过酒家饮。
\begin{itemize}\item 酒醉,乘月至一溪桥上,解鞍曲肱,醉卧少休。
\item 及觉已晓,乱山攒拥,流水锵然,疑非尘世也。
\end{itemize}\item 书此数语桥柱上。
\item 照野弥弥浅浪,横空隐隐层霄。
障泥未解玉骢骄,我欲醉眠芳草。
可惜一溪风月,莫教踏碎琼瑶。
解鞍欹枕绿杨桥,杜宇一声春晓。
\end{itemize}\end{frame}%%---------------------------------------------------------------------------------------------------\begin{frame}\frametitle{页标题}。
\end{frame}%%---------------------------------------------------------------------------------------------------\section{阶段性成果}\begin{frame}\frametitle{阶段性成果(1)}。
\begin{itemize}\item Dealer's Protocol (。
)\item Players' Protocol (。
)\begin{enumerate}\item 。
\item 。
\end{enumerate}\end{itemize}\end{frame}%%---------------------------------------------------------------------------------------------------%%============================================================================ ====新目录%%%---------------------------------------------------------------------------------------------------%\begin{frame}\frametitle{插个图}%\begin{figure}[!htbp]%\centering%\includegraphics[width=4.00cm,height=2.10cm]{SD.eps}%\caption{一个图}%\end{figure}%\end{frame}%%---------------------------------------------------------------------------------------------------%%---------------------------------------------------------------------------------------------------\begin{frame}\frametitle{阶段性成果(2)}\end{frame}%%---------------------------------------------------------------------------------------------------\begin{frame}\frametitle{阶段性成果(3)}构造了高效的可以运行在同步信道下的协议。