diff options
author | Karl Berry <karl@freefriends.org> | 2014-12-09 23:19:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-12-09 23:19:39 +0000 |
commit | 92b35aa42d6d9f68b1d1f730dd47da06d2d3aa23 (patch) | |
tree | d80cb8f985bd2df827dbe0ab0e6469185f46a7b9 /Master/texmf-dist/tex/latex | |
parent | f0f34a06c43fb2be455aaeac0d7e2808e4617970 (diff) |
thuthesis (9dec14)
git-svn-id: svn://tug.org/texlive/trunk@35774 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-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} |