Last active
June 20, 2016 12:19
-
-
Save liuchengxu/de668d22f36b39eb4ef56a4ccce999ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[ | |
11pt, | |
xcolor={svgnames}, | |
hyperref={ | |
colorlinks, | |
citecolor=green, | |
linkcolor=DeepPink, | |
anchorcolor=blue | |
} | |
]{beamer}%%beamer的hyperref要在这里设置,不要使用usepackage方式 | |
%\usetheme{Frankfurt} | |
%\usetheme{Berkeley} | |
%\usetheme{EastLansing} | |
%\usetheme{Singapore} | |
%\usefonttheme{serif} | |
%\usefonttheme[stillsansseriflarge,stillsansserifsmall]{serif} | |
\usefonttheme[onlymath]{serif} | |
%\usecolortheme{seahorse} | |
\usecolortheme{rose} | |
%\setbeamerfont{title}{shape=\itshape,family=\rmfamily} | |
%\setbeamercolor{title}{fg=red!80!black,bg=red!20!white} | |
\usepackage[UTF8]{ctex} | |
\usepackage[T1]{fontenc} | |
\usepackage[utf8]{inputenc} | |
\usepackage{xcolor} | |
\usepackage{outline} | |
\usepackage{nicefrac} | |
\usepackage{subfigure} % 子图排列 | |
\usepackage{makecell} % 改变表格横线样式, Xhline;Xcline | |
\usepackage{ | |
amsmath, | |
amssymb, | |
amsfonts, | |
bm | |
} % 数学公式环境必需 | |
\usepackage[ | |
linesnumbered, | |
boxed,ruled, | |
commentsnumbered | |
]{algorithm2e} % 算法 | |
\usepackage[ | |
super,square, | |
compress,sort | |
]{natbib} % 参考文献样式 | |
\usepackage{listings} % 显示程序代码 | |
\lstset{ | |
numbers=left, | |
numberstyle=\tiny, | |
keywordstyle=\color{blue!70}, | |
commentstyle=\color{red!50!green!50!blue!50}, | |
frame=single, | |
rulesepcolor=\color{red!20!green!20!blue!20}, | |
escapeinside=`` % ``,单引号中可输入中文 | |
} | |
\graphicspath{{graphics/}} % 设置图片路径为当前路径下的graphics文件夹 | |
\DeclareGraphicsExtensions{.eps,.png,.jpg} % 对于同名图片的优先顺序调用 | |
% argmin上下排列, \underset{h}{\argmin} | |
\usepackage{amsopn} | |
% 定义一些数学符号 | |
\DeclareMathOperator{\argmin}{arg\,min\,} | |
\DeclareMathOperator{\argmax}{arg\,max\,} | |
\DeclareMathOperator{\sign}{sign} | |
\newif\iflattersubsect | |
\AtBeginSection[] { | |
\begin{frame}<beamer> | |
\frametitle{Inhalt} % | |
\tableofcontents[currentsection] | |
\end{frame} | |
\lattersubsectfalse | |
} | |
\AtBeginSubsection[] { | |
\iflattersubsect | |
\begin{frame}<beamer> | |
\frametitle{Inhalt} % | |
\tableofcontents[currentsubsection] | |
\end{frame} | |
\fi | |
\lattersubsecttrue | |
} | |
\author{Liucheng Xu} | |
\title{} | |
\subtitle{} | |
\logo{} | |
\institute{} | |
\date{\today} | |
\subject{} | |
\setbeamercovered{transparent} | |
\setbeamertemplate{navigation symbols}{} | |
\setbeamertemplate{footline}[frame number]{} | |
%改变beamer列表样式 | |
\setbeamertemplate{enumerate item}{\arabic{enumi}.} | |
\setbeamertemplate{enumerate subitem}{(\alph{enumii})} | |
\begin{document} | |
\bibliographystyle{apalike} | |
\maketitle | |
\begin{frame}{outline} | |
\tableofcontents | |
\end{frame} | |
\begin{frame} | |
\end{frame} % to enforce entries in the table of contents | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment