A template of beamer

Academic

Just a template of beamer

%!Mode:: "TeX:UTF-8"
%!TEX program = xelatex
\documentclass[10pt]{beamer}
%[]中加t可以使内容从顶部开始

%英文字体
\usepackage{booktabs}
\usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Mapping=tex-text]{TimesNewRomanPSMT}
\setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Gill Sans}
\setmonofont[Scale=MatchLowercase]{Courier}

%中文设置
\usepackage[slantfont,boldfont]{xeCJK}
\setCJKmainfont[BoldFont=AdobeHeitiStd-Regular]{AdobeHeitiStd-Regular}
\setCJKfamilyfont{Song}{AdobeSongStd-Light}
\setCJKfamilyfont{Hei}{AdobeHeitiStd-Regular}
\setCJKfamilyfont{Kai}{AdobeKaitiStd-Regular}
\setCJKfamilyfont{Hupo}{STHupo}
\setCJKfamilyfont{FS}{AdobeFangsongStd-Regular}
\XeTeXlinebreaklocale "zh" %中文断行用

%beamer配置
\usetheme{Luebeck}%
\setbeamertemplate{headline}{}
\setbeamertemplate{navigation symbols}{} %去掉导航条
\usefonttheme{serif}
%加上sectionpage
\AtBeginSection[]{
\begin{frame}
\begin{center}
\begin{beamercolorbox}[sep=8pt,center]{part title}
\usebeamerfont{part title}{\large \insertsection}
\end{beamercolorbox}
\end{center}
\end{frame}
}

%数学设置
\usepackage{amssymb}
\usepackage{amsmath}

%插图
\usepackage{graphicx}

%作图
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}

\title[简略标题]{titlepage上显示的完整标题}
\author[作者]{titlepage上显示的完整作者信息,可以包括邮件地址}
\institute[简略机构]{titlepage上要显示的完整机构}
\date{2014.mm.dd}

\begin{document}
%标题页
\frame{\titlepage}
%outline
\section[Outline]{}
\frame{
\frametitle{主要内容}
\tableofcontents
}
%正文
\section{章节1}
\frame   %[allowframebreaks]似乎与\pause冲突
{\frametitle{页标题}
		\begin{itemize}
		\item 信息1
		\pause
		\item 信息2
		\only<3>{
		\item 信息3}
		\item 信息4
		\end{itemize}
}

\section{章节2}
\frame[allowframebreaks]{
\frametitle{页标题}
}

%感谢页
\frame{
 \begin{center}
 \begin{beamercolorbox}[sep=8pt,center]{part title}
\usebeamerfont{part title}{\huge Thank You!}
\end{beamercolorbox}
 \end{center}
}

\end{document}