From 87e45034191d513656fd5f2f8372997d534ce962 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Tue, 23 Apr 2019 13:56:42 +0800 Subject: initial commit --- .gitignore | 2 + Make.bat | 39 +++++++++++++++++ Makefile | 42 ++++++++++++++++++ chap/abs.tex | 12 +++++ chap/ack.tex | 7 +++ chap/chap1.tex | 7 +++ chap/chap2.tex | 7 +++ chap/chap3.tex | 7 +++ chap/copy.tex | 45 +++++++++++++++++++ chap/encl1.tex | 7 +++ chap/origin.tex | 82 ++++++++++++++++++++++++++++++++++ ctex-fontset-pkuthss.def | 58 ++++++++++++++++++++++++ ctexopts.cfg | 4 ++ spine.tex | 45 +++++++++++++++++++ thesis.bib | 19 ++++++++ thesis.pdf | Bin 0 -> 378792 bytes thesis.tex | 112 +++++++++++++++++++++++++++++++++++++++++++++++ 17 files changed, 495 insertions(+) create mode 100644 .gitignore create mode 100644 Make.bat create mode 100644 Makefile create mode 100644 chap/abs.tex create mode 100644 chap/ack.tex create mode 100644 chap/chap1.tex create mode 100644 chap/chap2.tex create mode 100644 chap/chap3.tex create mode 100644 chap/copy.tex create mode 100644 chap/encl1.tex create mode 100644 chap/origin.tex create mode 100644 ctex-fontset-pkuthss.def create mode 100644 ctexopts.cfg create mode 100644 spine.tex create mode 100644 thesis.bib create mode 100644 thesis.pdf create mode 100644 thesis.tex diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..365eab4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.ttf +*.ttc diff --git a/Make.bat b/Make.bat new file mode 100644 index 0000000..e57cca7 --- /dev/null +++ b/Make.bat @@ -0,0 +1,39 @@ +@echo off + +@rem Copyright (c) 2008-2009 solvethis +@rem Copyright (c) 2010-2012 Casper Ti. Vector +@rem Public domain. + +set JOB=thesis +@rem 这个变量的值可以为 latex、pdflatex 或 xelatex。 +set LATEX=latex +set BIBTEX=biber -l zh__pinyin --output-safechars +set DVIPDF=dvipdfmx + +if "%LATEX%"=="latex" (set DODVIPDF=%DVIPDF% %JOB% +) else (set DODVIPDF=echo No need to run %DVIPDF%.) +if "%1"=="" goto doc +if "%1"=="doc" goto doc +if "%1"=="clean" (goto clean) else (goto usage) + +:doc +%LATEX% %JOB% +%BIBTEX% %JOB% +%LATEX% %JOB% +%LATEX% %JOB% +%DODVIPDF% +goto end + +:clean +del *.aux *.bbl *.bcf *.blg *.dvi *.lof *.log *.lot *.run.xml *.toc *.out +del missfont.log chap\*.aux +goto end + +:usage +echo %0 [doc] [clean] +goto end + +:end +pause + +@rem vim:ts=4:sw=4 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7edfe18 --- /dev/null +++ b/Makefile @@ -0,0 +1,42 @@ +# Copyright (c) 2008-2009 solvethis +# Copyright (c) 2010-2012,2014-2015,2018 Casper Ti. Vector +# Public domain. + +# 琚紪璇戠殑涓绘枃浠剁殑鏂囦欢鍚嶏紝涓嶅寘鎷墿灞曞悕銆 +JOB = thesis +# 杩欎釜鍙橀噺鐨勫煎彲浠ヤ负 latex銆乸dflatex 鎴 xelatex銆 +LATEX = pdflatex +BIBTEX = biber -l zh__pinyin --output-safechars +DVIPDF = dvipdfmx + +# 濡傛灉鐢 LaTeX 缂栬瘧锛屽垯浣跨敤 dvipdfmx 灏 dvi 杞垚 pdf銆 +ifeq ($(LATEX), latex) + DODVIPDF = $(DVIPDF) $(JOB) +endif + +# 鍖哄垎鏄 Windows 鐜杩樻槸绫 UNIX 鐜銆 +# 濡傛灉鏄悗鑰咃紝鍒 GNU make 灏嗗彲浠ユ娴嬪埌宸茬粡瀹氫箟 PATH 鐜鍙橀噺銆 +ifdef PATH + MAKE = make + RM = rm -f +else + MAKE = mingw32-make + RM = del +endif + +doc: + $(LATEX) $(JOB) + $(BIBTEX) $(JOB) + $(LATEX) $(JOB) + $(LATEX) $(JOB) + $(DODVIPDF) + +clean: + $(RM) $(JOB).aux $(JOB).bbl $(JOB).bcf $(JOB).blg $(JOB).dvi \ + $(JOB).lof $(JOB).log $(JOB).lot $(JOB).run.xml $(JOB).toc \ + $(JOB).out $(JOB).out.bak missfont.log texput.log chap/*.aux + +distclean: clean + $(RM) $(JOB).pdf + +# vim:ts=4:sw=4 diff --git a/chap/abs.tex b/chap/abs.tex new file mode 100644 index 0000000..305792f --- /dev/null +++ b/chap/abs.tex @@ -0,0 +1,12 @@ +% Copyright (c) 2014,2016 Casper Ti. Vector +% Public domain. + +\begin{cabstract} + \pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆 +\end{cabstract} + +\begin{eabstract} + Test of the English abstract. +\end{eabstract} + +% vim:ts=4:sw=4 diff --git a/chap/ack.tex b/chap/ack.tex new file mode 100644 index 0000000..4af4d39 --- /dev/null +++ b/chap/ack.tex @@ -0,0 +1,7 @@ +% Copyright (c) 2014,2016 Casper Ti. Vector +% Public domain. + +\chapter{鑷磋阿} +\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆 + +% vim:ts=4:sw=4 diff --git a/chap/chap1.tex b/chap/chap1.tex new file mode 100644 index 0000000..3d631f3 --- /dev/null +++ b/chap/chap1.tex @@ -0,0 +1,7 @@ +% Copyright (c) 2014,2016,2018 Casper Ti. Vector +% Public domain. + +\chapter{寮曡█} +\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆 + +% vim:ts=4:sw=4 diff --git a/chap/chap2.tex b/chap/chap2.tex new file mode 100644 index 0000000..85f7008 --- /dev/null +++ b/chap/chap2.tex @@ -0,0 +1,7 @@ +% Copyright (c) 2014,2016 Casper Ti. Vector +% Public domain. + +\chapter{绔犺妭} +\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆 + +% vim:ts=4:sw=4 diff --git a/chap/chap3.tex b/chap/chap3.tex new file mode 100644 index 0000000..ed66f12 --- /dev/null +++ b/chap/chap3.tex @@ -0,0 +1,7 @@ +% Copyright (c) 2014,2016,2018 Casper Ti. Vector +% Public domain. + +\chapter{缁撹鍜屽睍鏈泒 +\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆 + +% vim:ts=4:sw=4 diff --git a/chap/copy.tex b/chap/copy.tex new file mode 100644 index 0000000..8204715 --- /dev/null +++ b/chap/copy.tex @@ -0,0 +1,45 @@ +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2017 Casper Ti. Vector +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions are +% met: +% +% * Redistributions of source code must retain the above copyright notice, +% this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% * Neither the name of Peking University nor the names of its contributors +% may be used to endorse or promote products derived from this software +% without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +% 姝ゅ涓嶇敤 \specialchap锛屽洜涓哄鏍¤姹傜洰褰曚笉鍖呮嫭鍏惰嚜宸卞強鍏朵箣鍓嶇殑鍐呭銆 +\chapter*{鐗堟潈澹版槑} +% 缁煎悎瀛︽牎鐨勪功闈㈣姹傚強 Word 妯$増鏉ョ湅锛岀増鏉冨0鏄庨〉涓嶇敤鍔犻〉鐪夈侀〉鑴氥 +\thispagestyle{empty} + +浠讳綍鏀跺瓨鍜屼繚绠℃湰璁烘枃鍚勭鐗堟湰鐨勫崟浣嶅拰涓汉锛 +鏈粡鏈鏂囦綔鑰呭悓鎰忥紝涓嶅緱灏嗘湰璁烘枃杞熶粬浜猴紝 +浜︿笉寰楅殢鎰忓鍒躲佹妱褰曘佹媿鐓ф垨浠ヤ换浣曟柟寮忎紶鎾 +鍚﹀垯涓鏃﹀紩璧锋湁纰嶄綔鑰呰憲浣滄潈涔嬮棶棰橈紝灏嗗彲鑳芥壙鎷呮硶寰嬭矗浠汇 + +% 鑻ラ』鎺掔増浜岀淮鐮侊紝璇峰皢浜岀淮鐮佸浘鐗囬噸鍛藉悕涓衡渂arcode鈥濓紝 +% 杞负鍚堥傜殑鍥剧墖鏍煎紡锛屽苟鏀惧湪褰撳墠鐩綍涓嬶紝鐒跺悗鍘绘帀涓嬮潰 2 琛岀殑娉ㄩ噴銆 +%\vfill\noindent +%\includegraphics[height = 5em]{barcode} + +% vim:ts=4:sw=4 diff --git a/chap/encl1.tex b/chap/encl1.tex new file mode 100644 index 0000000..9834829 --- /dev/null +++ b/chap/encl1.tex @@ -0,0 +1,7 @@ +% Copyright (c) 2014,2016 Casper Ti. Vector +% Public domain. + +\chapter{闄勪欢} +\pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆 + +% vim:ts=4:sw=4 diff --git a/chap/origin.tex b/chap/origin.tex new file mode 100644 index 0000000..49d25b5 --- /dev/null +++ b/chap/origin.tex @@ -0,0 +1,82 @@ +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2017 Casper Ti. Vector +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions are +% met: +% +% * Redistributions of source code must retain the above copyright notice, +% this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above copyright +% notice, this list of conditions and the following disclaimer in the +% documentation and/or other materials provided with the distribution. +% * Neither the name of Peking University nor the names of its contributors +% may be used to endorse or promote products derived from this software +% without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS +% IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, +% THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +% PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR +% CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +% PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR +% PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +% LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +% NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +% SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +{ + \ctexset{section = { + format+ = {\centering}, beforeskip = {40bp}, afterskip = {15bp} + }} + + % 瀛︽牎涔﹂潰瑕佹眰鏈〉闈笉瑕侀〉鐮侊紝浣嗗湪缁欏嚭鐨 Word 妯$増涓張鏈夐〉鐮佷笖缂栧叆浜嗙洰褰曘 + % 姝ゅ浠 Word 妯$増涓哄疄闄呮爣鍑嗚繘琛岃瀹氥 + \specialchap{鍖椾含澶у瀛︿綅璁烘枃鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑} + \mbox{}\vspace*{-3em} + \section*{鍘熷垱鎬у0鏄巬 + + 鏈汉閮戦噸澹版槑锛 + 鎵鍛堜氦鐨勫浣嶈鏂囷紝鏄湰浜哄湪瀵煎笀鐨勬寚瀵间笅锛岀嫭绔嬭繘琛岀爺绌跺伐浣滄墍鍙栧緱鐨勬垚鏋溿 + 闄ゆ枃涓凡缁忔敞鏄庡紩鐢ㄧ殑鍐呭澶栵紝 + 鏈鏂囦笉鍚换浣曞叾浠栦釜浜烘垨闆嗕綋宸茬粡鍙戣〃鎴栨挵鍐欒繃鐨勪綔鍝佹垨鎴愭灉銆 + 瀵规湰鏂囩殑鐮旂┒鍋氬嚭閲嶈璐$尞鐨勪釜浜哄拰闆嗕綋锛屽潎宸插湪鏂囦腑浠ユ槑纭柟寮忔爣鏄庛 + 鏈0鏄庣殑娉曞緥缁撴灉鐢辨湰浜烘壙鎷呫 + \vskip 1em + \rightline{% + 璁烘枃浣滆呯鍚嶏細\hspace{5em}% + 鏃ユ湡锛歕hspace{2em}骞碶hspace{2em}鏈圽hspace{2em}鏃% + } + + \section*{% + 瀛︿綅璁烘枃浣跨敤鎺堟潈璇存槑\\[-0.33em] + \textmd{\zihao{5}锛堝繀椤昏璁㈠湪鎻愪氦瀛︽牎鍥句功棣嗙殑鍗板埛鏈級}% + } + + 鏈汉瀹屽叏浜嗚В鍖椾含澶у鍏充簬鏀堕泦銆佷繚瀛樸佷娇鐢ㄥ浣嶈鏂囩殑瑙勫畾锛屽嵆锛 + \begin{itemize} + \item 鎸夌収瀛︽牎瑕佹眰鎻愪氦瀛︿綅璁烘枃鐨勫嵃鍒锋湰鍜岀數瀛愮増鏈紱 + \item 瀛︽牎鏈夋潈淇濆瓨瀛︿綅璁烘枃鐨勫嵃鍒锋湰鍜岀數瀛愮増锛 + 骞舵彁渚涚洰褰曟绱笌闃呰鏈嶅姟锛屽湪鏍″洯缃戜笂鎻愪緵鏈嶅姟锛 + \item 瀛︽牎鍙互閲囩敤褰卞嵃銆佺缉鍗般佹暟瀛楀寲鎴栧叾瀹冨鍒舵墜娈典繚瀛樿鏂囷紱 + \item 鍥犳煇绉嶇壒娈婂師鍥犻』瑕佸欢杩熷彂甯冨浣嶈鏂囩數瀛愮増锛 + 鎺堟潈瀛︽牎鍦 $\Box$\nobreakspace{}涓骞 / + $\Box$\nobreakspace{}涓ゅ勾 / + $\Box$\nobreakspace{}涓夊勾浠ュ悗鍦ㄦ牎鍥綉涓婂叏鏂囧彂甯冦 + \end{itemize} + \centerline{锛堜繚瀵嗚鏂囧湪瑙e瘑鍚庨伒瀹堟瑙勫畾锛墋 + \vskip 1em + \rightline{% + 璁烘枃浣滆呯鍚嶏細\hspace{5em}瀵煎笀绛惧悕锛歕hspace{5em}% + 鏃ユ湡锛歕hspace{2em}骞碶hspace{2em}鏈圽hspace{2em}鏃% + } + + % 鑻ラ』鎺掔増浜岀淮鐮侊紝璇峰皢浜岀淮鐮佸浘鐗囬噸鍛藉悕涓衡渂arcode鈥濓紝 + % 杞负鍚堥傜殑鍥剧墖鏍煎紡锛屽苟鏀惧湪褰撳墠鐩綍涓嬶紝鐒跺悗鍘绘帀涓嬮潰 2 琛岀殑娉ㄩ噴銆 + %\vfill\noindent + %\includegraphics[height = 5em]{barcode} +} + +% vim:ts=4:sw=4 diff --git a/ctex-fontset-pkuthss.def b/ctex-fontset-pkuthss.def new file mode 100644 index 0000000..2febb61 --- /dev/null +++ b/ctex-fontset-pkuthss.def @@ -0,0 +1,58 @@ +\ProvidesExplFile{\ExplFileName}{}{}{} + +\sys_if_engine_pdftex:TF + { + \ctex_zhmap_case:nnn + { + \ctex_punct_set:n { windows } + \setCJKmainfont + [ BoldFont = simhei.ttf , ItalicFont = simkai.ttf ] { simsun.ttc } + \setCJKsansfont { simhei.ttf } + \setCJKmonofont { simfang.ttf } + \setCJKfamilyfont { zhkai } { simkai.ttf } + \setCJKfamilyfont { zhfs } { simfang.ttf } + \setCJKfamilyfont { zhsong } { simsun.ttc } + \setCJKfamilyfont { zhhei } { simhei.ttf } + %\setCJKfamilyfont { zhli } { simli.ttf } + %\setCJKfamilyfont { zhyou } { simyou.ttf } + \ctex_punct_map_family:nn { \CJKrmdefault } { zhsong } + \ctex_punct_map_family:nn { \CJKsfdefault } { zhhei } + \ctex_punct_map_family:nn { \CJKttdefault } { zhfs } + \ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai } + \ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei } + } + { + \ctex_load_zhmap:nnnn { rm } { zhhei } { zhfs } { zhwindowsfonts } + \ctex_punct_set:n { windows } + \ctex_punct_map_family:nn { \CJKrmdefault } { zhsong } + \ctex_punct_map_bfseries:nn { \CJKrmdefault } { zhhei } + \ctex_punct_map_itshape:nn { \CJKrmdefault } { zhkai } + } + { + \tl_set:Nn \CJKrmdefault { rm } + \tl_set:Nn \CJKsfdefault { sf } + \tl_set:Nn \CJKttdefault { tt } + } + } + { + \setCJKmainfont + [ BoldFont = SimHei , ItalicFont = [ simkai.ttf ] ] { SimSun } + \setCJKsansfont { SimHei } + \setCJKmonofont { [ simfang.ttf ] } + \setCJKfamilyfont { zhsong } { SimSun } + \setCJKfamilyfont { zhhei } { SimHei } + \setCJKfamilyfont { zhkai } { [ simkai.ttf ] } + \setCJKfamilyfont { zhfs } { [ simfang.ttf ] } + %\setCJKfamilyfont { zhli } { LiSu } + %\setCJKfamilyfont { zhyou } { YouYuan } + } + +\NewDocumentCommand \songti { } { \CJKfamily { zhsong } } +\NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } +\NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } +\NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } +%\NewDocumentCommand \lishu { } { \CJKfamily { zhli } } +%\NewDocumentCommand \youyuan { } { \CJKfamily { zhyou } } + +\endinput +% vim:ft=tex:ts=2:sw=2:et diff --git a/ctexopts.cfg b/ctexopts.cfg new file mode 100644 index 0000000..0dc8094 --- /dev/null +++ b/ctexopts.cfg @@ -0,0 +1,4 @@ +\ProvidesExplFile{\ExplFileName}{}{}{} +\keys_set:nn { ctex / option } { fontset = pkuthss } +\endinput +% vim:ft=tex diff --git a/spine.tex b/spine.tex new file mode 100644 index 0000000..a2520ff --- /dev/null +++ b/spine.tex @@ -0,0 +1,45 @@ +% Copyright (c) 2018 Casper Ti. Vector +% Public domain. + +\documentclass[UTF8, zihao = -4]{ctexart} +\usepackage{calc, geometry, graphicx} +\usepackage[defaultsups]{newtxtext} +\usepackage[cmintegrals, varg]{newtxmath} +\pagestyle{empty} +\newlength{\colpad} +\newcommand{\colwidth}{0.99\ccwd} + +% 璁惧畾璁烘枃绾稿昂瀵搞 +\geometry{paperwidth = 460mm, paperheight = 297mm, margin = 0cm} +% 璁惧畾椤甸潰瀹藉害銆佽儗闈 logo 鐩村緞鍜屼功鑴婁笂涓嬭竟鐣屽搴︺ +\newcommand{\miniwidth}{210mm} +\newcommand{\logowidth}{64mm} +\newcommand{\vertmargin}{\fill} +% 鍑忓彿鍓嶇殑鍊间负璁烘枃鍘氬害銆 +\setlength{\colpad}{(10mm - \colwidth) / 2} + +\begin{document} +\centering +\begin{minipage}[b][\textheight][b]{\miniwidth} + \vspace*{\fill}\par + \centerline{\includegraphics[width = \logowidth]{pkulogo}}\par + \vspace*{\fill}\par +\end{minipage} +\hspace{\colpad} +\begin{minipage}[b][\textheight][b]{\colwidth} + \bfseries\linespread{1}\selectfont + \vspace*{\vertmargin}\par + % 鏍囬銆佸勾浠藉拰瀛﹀彿銆 + 娴嬭瘯鏂囨。\par\vfill + \rotatebox{-90}{2018}\par\vfill\rotatebox{-90}{0123456789}\par + \vspace*{\vertmargin}\par +\end{minipage} +\hspace{\colpad} +\begin{minipage}[b][\textheight][b]{\miniwidth} + % thesis.pdf 搴斾簨鍏堢紪璇戝ソ锛屾澶勪細鑷姩鎻愬彇鍏堕椤点 + % 鍥犱负瑕佹彃鍏 pdf 鍥剧墖锛屾湰鏂囨。搴旂敤 pdflatex 鎴 xelatex 缂栬瘧銆 + \includegraphics[height = \textheight, page = 1]{thesis} +\end{minipage} +\end{document} + +% vim:ts=4:sw=4 diff --git a/thesis.bib b/thesis.bib new file mode 100644 index 0000000..ac5b0c9 --- /dev/null +++ b/thesis.bib @@ -0,0 +1,19 @@ +@article{test-en, + author = {Author}, + title = {Title}, + type = {J}, + journal = {Journal}, + date = {2014-04-01}, + language = {english}, +} + +@article{test-zh, + author = {浣滆厎, + title = {鏍囬}, + type = {J}, + journal = {鏈熷垔}, + date = {2014-04-01}, + language = {chinese}, +} + +% vim:ts=4:sw=4 diff --git a/thesis.pdf b/thesis.pdf new file mode 100644 index 0000000..23f0eb8 Binary files /dev/null and b/thesis.pdf differ diff --git a/thesis.tex b/thesis.tex new file mode 100644 index 0000000..30e05de --- /dev/null +++ b/thesis.tex @@ -0,0 +1,112 @@ +% Copyright (c) 2008-2009 solvethis +% Copyright (c) 2010-2016,2018 Casper Ti. Vector +% Public domain. +% +% 浣跨敤鍓嶈鍏堜粩缁嗛槄璇 pkuthss 鍜 biblatex-caspervector 鐨勬枃妗o紝 +% 鐗瑰埆鏄叾涓殑 FAQ 閮ㄥ垎鍜岀敤绾㈣壊寮鸿皟鐨勯儴鍒嗐 +% 涓よ呭彲鍦ㄧ粓绔/鍛戒护鎻愮ず绗︿腑鐢 +% texdoc pkuthss +% texdoc biblatex-caspervector +% 璋冨嚭銆 + +% 閲囩敤浜嗚嚜瀹氫箟鐨勶紙鍖呮嫭澶у皬鍐欎笉鍚屼簬鍘熸枃浠剁殑锛夊瓧浣撴枃浠跺悕锛 +% 骞舵敼鍔 ctex.cfg 绛夐厤缃枃浠剁殑鐢ㄦ埛璇疯嚜琛屽姞鍏 nofonts 閫夐」锛 +% 鍏跺畠鐢ㄦ埛涓嶇敤鍔犲叆 nofonts 閫夐」锛屽姞鍏ヤ箣鍚庡弽鑰屼細浜х敓閿欒銆 +\documentclass[UTF8]{pkuthss} +% 濡傛灉鐨勭‘椤昏浣胯剼娉ㄦ寜椤电紪鍙风殑璇濓紝鍙互鍘绘帀鍚庨潰 footmisc 鍖呯殑娉ㄩ噴銆 +% 娉ㄦ剰锛氬湪鍚敤姝よ瀹氱殑鎯呭喌涓嬶紝鍙兘瑕佸缂栬瘧涓娆′互浜х敓姝g‘鐨勮剼娉ㄧ紪鍙枫 +%\usepackage[perpage]{footmisc} + +% 浣跨敤 biblatex 鎺掔増鍙傝冩枃鐚紝骞惰瀹氬叾鏍煎紡锛堣瑙 biblatex-caspervector 鐨勬枃妗o級銆 +% 杩欓噷鎸夌収瑗挎枃鏂囩尞鍦ㄥ墠锛屼腑鏂囨枃鐚湪鍚庢帓搴忥紙鈥渟orting = ecnyt鈥濓級锛 +% 鑻ラ』鎸夌収涓枃鏂囩尞鍦ㄥ墠锛岃タ鏂囨枃鐚湪鍚庢帓搴忥紝璇疯缃渟orting = cenyt鈥濓紱 +% 鑻ラ』鎸夌収寮曠敤椤哄簭鎺掑簭锛岃璁剧疆鈥渟orting = none鈥濄 +% 鑻ラ』鍦ㄦ帓搴忎腑瀹炵幇鏇村鏉傜殑闇姹傦紝璇峰弬鑰 biblatex-caspervector 鐨勬枃妗c +\usepackage[backend = biber, style = caspervector, utf8, sorting = ecnyt]{biblatex} + +% 瀵逛簬 linespread 鍊肩殑璁$畻杩囩▼鏈夊叴瓒g殑鍚屽鍙互鍙傝 pkuthss.cls銆 +\renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont} +% 鎸夊鏍¤姹傝瀹氬弬鑰冩枃鐚垪琛ㄧ殑娈甸棿璺濄 +\setlength{\bibitemsep}{3bp} + +% 璁惧畾鏂囨。鐨勫熀鏈俊鎭 +\pkuthssinfo{ + cthesisname = {鍗氬+鐮旂┒鐢熷浣嶈鏂噠, ethesisname = {Doctor Thesis}, + ctitle = {娴嬭瘯鏂囨。}, etitle = {Test Document}, + cauthor = {鏌愭煇}, + eauthor = {Test}, + studentid = {0123456789}, + date = {鏌愬勾鏌愭湀}, + school = {鏌愭煇瀛﹂櫌}, + cmajor = {鏌愭煇涓撲笟}, emajor = {Some Major}, + direction = {鏌愭煇鏂瑰悜}, + cmentor = {鏌愭煇鏁欐巿}, ementor = {Prof.\ Somebody}, + ckeywords = {鍏朵竴锛屽叾浜寎, ekeywords = {First, Second} +} +% 杞藉叆鍙傝冩枃鐚暟鎹簱锛堟敞鎰忎笉瑕佺渷鐣モ.bib鈥濓級銆 +\addbibresource{thesis.bib} + +% 鏅氱敤鎴峰彲鍒犻櫎姝ゆ锛屽苟鐩稿簲鍦板垹闄 chap/*.tex 涓殑 +% 鈥淺pkuthssffaq % 涓枃娴嬭瘯鏂囧瓧銆傗濅竴琛屻 +\usepackage{color} +\def\pkuthssffaq{% + \emph{\textcolor{red}{pkuthss 鏂囨。妯$増鏈甯歌闂锛殅} + + \texttt{\string\cite}銆乗texttt{\string\parencite} % + 鍜 \texttt{\string\supercite} 涓変釜鍛戒护鍒嗗埆浜х敓% + 鏈牸寮忓寲鐨勩佸甫鏂规嫭鍙风殑鍜屼笂鏍囦笖甯︽柟鎷彿鐨勫紩鐢ㄦ爣璁帮細% + \cite{test-en}锛孿parencite{test-zh}銆乗supercite{test-en, test-zh}銆 + + 鑻ヨ閬垮厤绔犳湯绌虹櫧椤碉紝璇峰湪璋冪敤 pkuthss 鏂囨。绫绘椂鍔犲叆 \texttt{openany} 閫夐」銆 + + 濡傛灉缂栬瘧鏃朵笉鍑哄弬鑰冩枃鐚紝 + 璇峰弬鑰 \texttt{texdoc pkuthss}鈥滈棶棰樺強鍏惰В鍐斥濅竴绔 + 鈥滀笂娓稿畯鍖呭彲鑳藉紩璧风殑闂鈥濅竴鑺備腑鍏充簬 biber 鐨勮鏄庛% +} + +\begin{document} + % 浠ヤ笅涓烘鏂囦箣鍓嶇殑閮ㄥ垎锛岄粯璁や笉杩涜绔犺妭缂栧彿銆 + \frontmatter + % 姝ゅ悗鍒颁笅涓 \pagestyle 鍛戒护涔嬪墠涓嶆帓鐗堥〉鐪夋垨椤佃剼銆 + \pagestyle{empty} + % 鑷姩鐢熸垚灏侀潰銆 + \maketitle + % 鐗堟潈澹版槑銆傚皝闈㈣姹傚崟闈㈡墦鍗帮紝鏁呴』鏂板紑鍙抽〉銆 + \cleardoublepage + \include{chap/copy} + + % 姝ゅ悗鍒颁笅涓 \pagestyle 鍛戒护涔嬪墠姝e父鎺掔増椤电湁鍜岄〉鑴氥 + \cleardoublepage + \pagestyle{plain} + % 閲嶇疆椤电爜璁℃暟鍣紝鐢ㄥぇ鍐欑綏椹暟瀛楁帓鐗堟閮ㄥ垎椤电爜銆 + \setcounter{page}{0} + \pagenumbering{Roman} + % 涓タ鏂囨憳瑕併 + \include{chap/abs} + % 鑷姩鐢熸垚鐩綍銆 + \tableofcontents + + % 浠ヤ笅涓烘鏂囬儴鍒嗭紝榛樿瑕佽繘琛岀珷鑺傜紪鍙枫 + \mainmatter + % 鍚勭珷鑺傘 + \include{chap/chap1} + \include{chap/chap2} + \include{chap/chap3} + + % 姝f枃涓殑闄勫綍閮ㄥ垎銆 + \appendix + % 鎺掔増鍙傝冩枃鐚垪琛ㄣ俠ibintoc 閫夐」浣库滃弬鑰冩枃鐚濆嚭鐜板湪鐩綍涓紱 + % 濡傛灉鍚屾椂瑕佷娇鍙傝冩枃鐚垪琛ㄥ弬涓庣珷鑺傜紪鍙凤紝鍙皢鈥渂ibintoc鈥濇敼涓衡渂ibnumbered鈥濄 + \printbibliography[heading = bibintoc] + % 鍚勯檮褰曘 + \include{chap/encl1} + + % 浠ヤ笅涓烘鏂囦箣鍚庣殑閮ㄥ垎锛岄粯璁や笉杩涜绔犺妭缂栧彿銆 + \backmatter + % 鑷磋阿銆 + \include{chap/ack} + % 鍘熷垱鎬у0鏄庡拰浣跨敤鎺堟潈璇存槑銆 + \include{chap/origin} +\end{document} + +% vim:ts=4:sw=4 -- cgit v1.2.3