模板一
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 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@126.com} % 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 width
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{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}\\
\midrule
Treatment 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是目前用得最多得排版工具。然后,大部分人熟悉的多是word,實時上latex排版能力比word,ppt更方便。其使用代碼實現插入圖片、公式及表格編輯,代碼自動對齊,相對於word,ppt來說,latex的入手門檻稍微要高一點,對於喜歡編程的人來說絕對會喜歡latex,其排版效率更高和文章編輯只需用鍵盤就能實現,不需要用鼠標。而word,ppt排版及制作文檔的方便之處在於其完全可視化排版,小學生都能做出好的ppt。而且,世面上的ppt模板漫天遍地,故而,從易用性來說,ppt的使用跟簡單。但是,采用latex排出材料,結構清晰可讀性強移植性也比較方便,不像微軟的ppt需要版本兼容性問題。latex排版的出的材料要么是pdf格式,要么就是dvi格式。
\end{frame}
%%---------------------------------------------------------------------------------------------------
\section{使用圖}
%%---------------------------------------------------------------------------------------------------
%%---------------------------------------------------------------------------------------------------
\begin{frame}\frametitle{插入圖}
\begin{figure}[htbp!]
\centering
\includegraphics[width=0.60\textwidth]{123}
\caption{有道翻譯王}
\includegraphics[width=0.60\textwidth]{Pipeline}
\caption{Pipeline}
%\label{fig_Pipeline}
\end{figure}
\end{frame}
%%--------------------------------------------------------
\section{使用公式}
%%---------------------------------------------------------------------------------------------------
\begin{frame}\frametitle{使用公式}
\begin{equation}
\left\{
\begin{aligned}
\eta^{max}&=\max\limits_i(\frac{1}{T-1}\sum\limits_{k=1}^{T-1}(y_i(t_{k+1}-y_i(t_k))))\\
\eta^{min}&=\min\limits_i(\frac{1}{T-1}\sum\limits_{k=1}^{T-1}(y_i(t_{k+1}-y_i(t_k))))\\
\bar{\eta}&=\frac{1}{n(T-1)}\sum\limits_{i=1}^{n}\sum\limits_{k=1}^{T-1}(y_i(t_{k+1})-y_i(t_k))\\
\end{aligned}
\right.
\end{equation}
\end{frame}
%%---------------------------------------------------------------------------------------------------
\section{使用表格}
%%---------------------------------------------------------------------------------------------------
\begin{frame}\frametitle{使用表格}
\begin{table}
% table caption is above the table
\caption{Please write your table caption here}
\label{tab:1} % Give a unique label
% For LaTeX tables use
\begin{tabular}{lll}
\hline\noalign{\smallskip}
first & second & third & number \\
\noalign{\smallskip}\hline\noalign{\smallskip}
number & number & number & number \\
number & number & number & number \\
\noalign{\smallskip}\hline
\end{tabular}
\end{table}
\end{frame}
%%---------------------------------------------------------------------------------------------------
%%---------------------------------------------------------------------------------------------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}