Compare commits

..

No commits in common. "b31696098081b49c36abab712cb96ccba1ab6e11" and "adc7fff83a8f796969476c1896c35a36f7ee52c0" have entirely different histories.

4 changed files with 11 additions and 22 deletions

View File

@ -1,5 +0,0 @@
$pdf_mode = 1; # 生成PDF
$latex = 'xelatex %O %S'; # 用 xelatex 替代 latex
$pdflatex = 'xelatex %O %S'; # 用 xelatex 替代 pdflatex
$dvi_mode = 0; # 禁用DVI输出
$postscript_mode = 0; # 禁用PS输出

View File

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

BIN
main.pdf

Binary file not shown.

View File

@ -2,7 +2,7 @@
\title[template example]{Minimizing the Sum of Piecewise Linear Convex Functions}
\date{\today}
\author{丛宇}
\author{\texorpdfstring{\zh{丛宇}}{Yu Cong}}
% \AtBeginSection[]{
% \frame{\frametitle{Outline}\tableofcontents[currentsection,
% subsectionstyle=show/show/shaded]}