diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/thuthesis')
-rw-r--r-- | Master/texmf-dist/tex/latex/thuthesis/thufonts.def | 21 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/thuthesis/thuthesis.cfg | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls | 6 |
3 files changed, 25 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/thuthesis/thufonts.def b/Master/texmf-dist/tex/latex/thuthesis/thufonts.def new file mode 100644 index 00000000000..c7a619ed07a --- /dev/null +++ b/Master/texmf-dist/tex/latex/thuthesis/thufonts.def @@ -0,0 +1,21 @@ +% vim: set ft=tex: +% This file is modified from ctex's ctex-xecjk-winfonts.def. + +\ProvidesFile{thufonts.def} +\setCJKmainfont[BoldFont={SimHei},ItalicFont={KaiTi}]{SimSun} +\setCJKsansfont{SimHei} +\setCJKmonofont{FangSong} + +\setCJKfamilyfont{zhsong}{SimSun} +\setCJKfamilyfont{zhhei}{SimHei} +\setCJKfamilyfont{zhkai}{KaiTi} +\setCJKfamilyfont{zhfs}{FangSong} +\setCJKfamilyfont{zhli}{LiSu} +\setCJKfamilyfont{zhyou}{YouYuan} + +\newcommand*{\songti}{\CJKfamily{zhsong}} +\newcommand*{\heiti}{\CJKfamily{zhhei}} +\newcommand*{\kaishu}{\CJKfamily{zhkai}} +\newcommand*{\fangsong}{\CJKfamily{zhfs}} +\newcommand*{\lishu}{\CJKfamily{zhli}} +\newcommand*{\youyuan}{\CJKfamily{zhyou}} diff --git a/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cfg b/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cfg index 3cdef155137..f5477c83dac 100644 --- a/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cfg +++ b/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cfg @@ -25,7 +25,7 @@ %% \ProvidesFile{thuthesis.cfg} -[2014/11/27 4.8 Tsinghua University Thesis Template] +[2014/12/09 4.8.1 Tsinghua University Thesis Template] \theoremsymbol{\ensuremath{\square}} \newtheorem*{proof}{证明} \theoremstyle{plain} diff --git a/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls b/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls index 198f833cc08..a9382e445bd 100644 --- a/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls +++ b/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls @@ -26,10 +26,10 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{thuthesis} -[2014/11/27 4.8 Tsinghua University Thesis Template] +[2014/12/09 4.8.1 Tsinghua University Thesis Template] \hyphenation{Thu-Thesis} \def\thuthesis{\textsc{ThuThesis}} -\def\version{4.8} +\def\version{4.8.1} \newif\ifthu@bachelor\thu@bachelorfalse \newif\ifthu@master\thu@masterfalse \newif\ifthu@doctor\thu@doctorfalse @@ -84,7 +84,7 @@ \def\CJK@null{\kern\CJKnullspace\Unicode{48}{7}\kern\CJKnullspace} \defaultfontfeatures{Mapping=tex-text} % use TeX -- \ifCTEX@nofonts - \input{fontname.def} + \input{thufonts.def} \fi \setmainfont{Times New Roman} |