热度:
 
\ProvidesPackage{CtBeamer}
%\useoutertheme{infolines} %footnote
\usetheme{Frankfurt}
\usefonttheme[stillsansseriflarge, stillsansserifsmall]{serif}
 
\usepackage[english]{babel}
\usepackage{graphicx} %used to insert picture
\usepackage{times}
\usepackage{color}
%-------------second screen-----------
\usepackage{pgfpages}
\setbeameroption{show notes on second screen}
\setbeameroption{show notes}
%-------------second screen-----------
 
\usepackage[position=t, singlelinecheck=off]{subfig}
\usepackage{caption}
 
\captionsetup{labelformat=simple, labelsep=period, font=scriptsize}
\captionsetup[subfigure]{labelformat=simple}
\renewcommand\thesubfigure{\Alph{subfigure}}
 
%--------table--------------------------------
\usepackage{multirow}
\usepackage{threeparttable}
%--------table--------------------------------
\usepackage{listings}
\usepackage{xcolor}
%set parameter
 
\usepackage{moreverb}
 
%-----------todo-------------------------------
\usepackage{todonotes}
\presetkeys{todonotes}{inline}{size=\tiny}{}
%-----------todo-------------------------------
%------------------------------------------------------------------------
\graphicspath{{pic/}} 
\setbeamercovered{dynamic}
\beamertemplatetransparentcovereddynamic    
\beamertemplateballitem    
\beamertemplatenumberedballsectiontoc    
\beamertemplateboldpartpage    
 
\setbeamertemplate{caption}[numbered]
%%this delete the naigation bar at bottom-right
\setbeamertemplate{navigation symbols}{} 
\setbeamertemplate{blocks}[rounded][shadow=true]
%-------------newcommand---------------------------------------------
\newcommand{\numcol}[1]{{\color{blue}{#1}}}
\newcommand{\itemn}[1]{\item {#1} \hfill \\}
\newcommand{\graph}[1]{\includegraphics[width=\textwidth,
height=0.8\textheight, keepaspectratio=true]{#1}}
\newcommand{\graphe}[1]{
\begin{figure}
  \centering
  \includegraphics[width=\textwidth, height=0.8\textheight, keepaspectratio=true]{#1}
\end{figure}}
\newcommand{\grapheTwo}[4]{
\begin{columns}
  \begin{column}{#1\textwidth}
	\graphe{#2}
  \end{column}
  \begin{column}{#3\textwidth}
	\graphe{#4}
  \end{column}
\end{columns}}