add cjk character support

This commit is contained in:
Yu Cong 2024-11-21 10:30:02 +08:00
parent bf7f3bc6e6
commit 045f0ed087
3 changed files with 4 additions and 3 deletions

View File

@ -19,6 +19,9 @@
\RequirePackage{subcaption}
\RequirePackage{amsmath}
\RequirePackage{amsthm}
\RequirePackage[utf8]{inputenc}
\usepackage{CJKutf8}
\def\zh#1{\begin{CJK}{UTF8}{gbsn}#1\end{CJK}}
% copied from one of UIUC courses by Chandra Chekuri. I can't find the exact link now...https://courses.grainger.illinois.edu/cs598cci/sp2020/
\def\begin@lg{\begin{minipage}{1in}\begin{tabbing}

BIN
main.pdf

Binary file not shown.

View File

@ -1,9 +1,8 @@
\documentclass{beamer}
\author{Yu Cong}
\title[template example]{Minimizing the Sum of Piecewise Linear Convex Functions}
\date{\today}
\author{\texorpdfstring{\zh{丛宇}}{Yu Cong}}
% \AtBeginSection[]{
% \frame{\frametitle{Outline}\tableofcontents[currentsection,
% subsectionstyle=show/show/shaded]}
@ -11,7 +10,6 @@
\usetheme{Simple}
\usepackage{algo}
% \useoutertheme{tree}
\begin{document}
\begin{frame}[plain]