HomeworkTemples in latex for students in UCAS .
-
Choose pdfLaTex to compile
homework-en.tex
. -
Choose XeLaTex to compile
homework-zh.tex
.
Notice:
If you are using the software ctex
in windows, you can simply generate the pdf without changing anything in homework-zh.tex
.
Otherwise, you should add the following code to the file:
\usepackage{xeCJK}
% you can replace them with your own fonts
\setCJKmainfont{simsun.ttf}
\setCJKsansfont{simhei.ttf}
\setCJKmonofont{simfang.ttf}
We have tested it on ShareLaTex.
Hope you enjoy using our templates!