|
|
@@ -1,13 +1,19 @@
|
|
|
|
% Copyright 2018 by Zhibo Wang
|
|
|
|
% !TEX program = xelatex
|
|
|
|
%
|
|
|
|
% !TEX TS-program = xelatex
|
|
|
|
% This file may be distributed and/or modified
|
|
|
|
% fonts
|
|
|
|
% under the LaTeX Project Public License
|
|
|
|
\RequirePackage[sfdefault]{FiraSans}
|
|
|
|
\usepackage{libertine}
|
|
|
|
\RequirePackage{FiraMono}
|
|
|
|
|
|
|
|
\renewcommand{\rmfamily}{\sffamily}
|
|
|
|
|
|
|
|
\RequirePackage[fakebold]{firamath-otf}
|
|
|
|
|
|
|
|
\RequirePackage{xeCJK}
|
|
|
|
|
|
|
|
\setCJKmainfont{Source Han Sans SC}
|
|
|
|
|
|
|
|
|
|
|
|
\RequirePackage[english]{babel}
|
|
|
|
\RequirePackage[english]{babel}
|
|
|
|
\RequirePackage{fancyhdr} % header footer
|
|
|
|
\RequirePackage{fancyhdr} % header footer
|
|
|
|
\RequirePackage{xcolor}
|
|
|
|
\RequirePackage[dvipsnames]{xcolor}
|
|
|
|
\RequirePackage{bookmark}
|
|
|
|
\RequirePackage{bookmark}
|
|
|
|
\RequirePackage{hyperref}[colorlinks=true,urlcolor=Blue,citecolor=Green,linkcolor=BrickRed,unicode]
|
|
|
|
\RequirePackage{hyperref}[colorlinks=true,urlcolor=Blue,citecolor=Green,linkcolor=BrickRed,unicode]
|
|
|
|
|
|
|
|
\RequirePackage{natbib}
|
|
|
|
\RequirePackage{graphicx} % Allows including images
|
|
|
|
\RequirePackage{graphicx} % Allows including images
|
|
|
|
\RequirePackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
|
|
|
|
\RequirePackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
|
|
|
|
% \RequirePackage{tikz}
|
|
|
|
% \RequirePackage{tikz}
|
|
|
@@ -20,9 +26,9 @@
|
|
|
|
\RequirePackage{subcaption}
|
|
|
|
\RequirePackage{subcaption}
|
|
|
|
\RequirePackage{amsmath}
|
|
|
|
\RequirePackage{amsmath}
|
|
|
|
\RequirePackage{amsthm}
|
|
|
|
\RequirePackage{amsthm}
|
|
|
|
\RequirePackage[utf8]{inputenc}
|
|
|
|
% \RequirePackage[utf8]{inputenc}
|
|
|
|
\RequirePackage{CJKutf8}
|
|
|
|
% \RequirePackage{CJKutf8}
|
|
|
|
\def\zh#1{\begin{CJK}{UTF8}{gbsn}#1\end{CJK}}
|
|
|
|
% \def\zh#1{\begin{CJK}{UTF8}{gbsn}#1\end{CJK}}
|
|
|
|
\RequirePackage{aliascnt}
|
|
|
|
\RequirePackage{aliascnt}
|
|
|
|
|
|
|
|
|
|
|
|
% a color box
|
|
|
|
% a color box
|
|
|
@@ -125,7 +131,7 @@
|
|
|
|
\setbeamercolor{alerted text}{fg=beamer@simple@color}
|
|
|
|
\setbeamercolor{alerted text}{fg=beamer@simple@color}
|
|
|
|
\setbeamerfont{block title alerted}{series=\mdseries}
|
|
|
|
\setbeamerfont{block title alerted}{series=\mdseries}
|
|
|
|
\setbeamerfont{alerted text}{series=\bfseries\boldmath}
|
|
|
|
\setbeamerfont{alerted text}{series=\bfseries\boldmath}
|
|
|
|
\hypersetup{colorlinks,linkcolor=,urlcolor=oliver}
|
|
|
|
\hypersetup{colorlinks=true,linkcolor=,citecolor=Green,urlcolor=oliver}
|
|
|
|
% \usefonttheme[onlymath]{serif}
|
|
|
|
% \usefonttheme[onlymath]{serif}
|
|
|
|
\setbeamerfont{frametitle}{series=\bfseries\boldmath}
|
|
|
|
\setbeamerfont{frametitle}{series=\bfseries\boldmath}
|
|
|
|
\setbeamerfont{block title}{series=\bfseries\boldmath}
|
|
|
|
\setbeamerfont{block title}{series=\bfseries\boldmath}
|
|
|
@@ -135,15 +141,14 @@
|
|
|
|
% theorem env
|
|
|
|
% theorem env
|
|
|
|
\setbeamertemplate{theorem begin}{%
|
|
|
|
\setbeamertemplate{theorem begin}{%
|
|
|
|
{
|
|
|
|
{
|
|
|
|
\vspace{5pt}
|
|
|
|
\vspace{5pt}%
|
|
|
|
\usebeamerfont*{block title}%
|
|
|
|
\usebeamerfont*{block title}%
|
|
|
|
\selectfont
|
|
|
|
\selectfont%
|
|
|
|
\usebeamercolor[fg]{block title}%
|
|
|
|
\usebeamercolor[fg]{block title}%
|
|
|
|
\textbf{
|
|
|
|
\textbf{%
|
|
|
|
\inserttheoremname
|
|
|
|
\inserttheoremname
|
|
|
|
% \inserttheoremnumber
|
|
|
|
\inserttheoremnumber
|
|
|
|
\ifx \inserttheoremaddition \empty \else\ [\inserttheoremaddition]\fi
|
|
|
|
\ifx \inserttheoremaddition \empty \else\ [\inserttheoremaddition]\fi
|
|
|
|
\inserttheorempunctuation
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@@ -152,7 +157,7 @@
|
|
|
|
\setbeamertemplate{proof begin}{%
|
|
|
|
\setbeamertemplate{proof begin}{%
|
|
|
|
{\vspace{5pt}
|
|
|
|
{\vspace{5pt}
|
|
|
|
\usebeamercolor[fg]{block title}
|
|
|
|
\usebeamercolor[fg]{block title}
|
|
|
|
\textit{Proof.}}
|
|
|
|
\textit{\textbf{Proof:}}}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\setbeamertemplate{proof end}{
|
|
|
|
\setbeamertemplate{proof end}{
|
|
|
|
\qedhere
|
|
|
|
\qedhere
|
|
|
|