mirror of
				https://github.com/congyu711/BeamerTheme.git
				synced 2025-11-04 08:01:08 +08:00 
			
		
		
		
	add cjk character support
This commit is contained in:
		@@ -19,6 +19,9 @@
 | 
				
			|||||||
\RequirePackage{subcaption}
 | 
					\RequirePackage{subcaption}
 | 
				
			||||||
\RequirePackage{amsmath}
 | 
					\RequirePackage{amsmath}
 | 
				
			||||||
\RequirePackage{amsthm}
 | 
					\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/
 | 
					% 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}
 | 
					\def\begin@lg{\begin{minipage}{1in}\begin{tabbing}
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								main.tex
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								main.tex
									
									
									
									
									
								
							@@ -1,9 +1,8 @@
 | 
				
			|||||||
\documentclass{beamer}
 | 
					\documentclass{beamer}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\author{Yu Cong}
 | 
					 | 
				
			||||||
\title[template example]{Minimizing the Sum of Piecewise Linear Convex Functions}
 | 
					\title[template example]{Minimizing the Sum of Piecewise Linear Convex Functions}
 | 
				
			||||||
\date{\today}
 | 
					\date{\today}
 | 
				
			||||||
 | 
					\author{\texorpdfstring{\zh{丛宇}}{Yu Cong}}
 | 
				
			||||||
% \AtBeginSection[]{
 | 
					% \AtBeginSection[]{
 | 
				
			||||||
%     \frame{\frametitle{Outline}\tableofcontents[currentsection, 
 | 
					%     \frame{\frametitle{Outline}\tableofcontents[currentsection, 
 | 
				
			||||||
%     subsectionstyle=show/show/shaded]}
 | 
					%     subsectionstyle=show/show/shaded]}
 | 
				
			||||||
@@ -11,7 +10,6 @@
 | 
				
			|||||||
    
 | 
					    
 | 
				
			||||||
\usetheme{Simple}
 | 
					\usetheme{Simple}
 | 
				
			||||||
\usepackage{algo}
 | 
					\usepackage{algo}
 | 
				
			||||||
% \useoutertheme{tree}
 | 
					 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
\begin{document}
 | 
					\begin{document}
 | 
				
			||||||
\begin{frame}[plain]
 | 
					\begin{frame}[plain]
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user