-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathconfig.tex
More file actions
180 lines (146 loc) · 8.19 KB
/
Copy pathconfig.tex
File metadata and controls
180 lines (146 loc) · 8.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
%%%%% build setting | 編譯設定 %%%%%
\setboolean{publish}{false} % {true}/{false} Set true before publish. 發佈前設true
\def\lang{zh} % {zh}/{en} Set main language.
\setboolean{disableChinese}{false} % {true}/{false} Disable Chinese, for English user who don't have Chinese fonts.
\synctex=1 % Enable SyncTeX.
%%%%% Information of your document. | 定義文件資訊 %%%%%
\def\deptshort {物理}
\def\deptZh {物理研究所}
\def\deptEn {Department of Physics}
\def\deptspace {物~理}
\def\collegeEn {Electrical Engineering and Computer Science}
\def\degree {碩士} % 碩士/博士
\def\degreeEn {Master} % Master/Doctor
\def\degreespace {碩~士~論~文} % 碩士/博士
\def\thesisType{Master Thesis} % Master Thesis/Doctoral Dissertation
\def\titleZh {海洋大學LaTeX論文樣板(中文)} % Chinese title
\def\titleEn {NTOU LaTeX Thesis Template(Chinese)} % English title
\def\title {\titleZh} % Main title, default Chinese title
\def\subtitle {\titleEn} % Subtitle, default English title, empty allowed.
\def\logo {} % logo on titlepage. Watermark see below. 中央無校徽在封面。若你想加,樣板已附上,填入 ``logo-NCU.jpg'' 即可
\def\authorZh {君の名は。}
\def\authorEn {Your Name.}
\def\author {\authorZh} % Choose one When only use one name.(book spine using.)
% \profs is professor's comma separated list. First is advisor , comma use ``{,}''
\def\profsZh {你的指導教授, 你的共同指導, 英文逗號示範}
\def\profsEn {Your advisor, Committee member, ZUO{,} GONG-DE}
\def\degreedateROC{中華民國~{107}~年~6~月}
\def\degreedateAD {June 2018}
\def\copyyear {2012-2013}
\setboolean{printcopyright}{false} % {true}/{false} print copyright text on titlepage or cover.
\def\keywordsZh{關鍵字, 論文, 樣板, 讓我畢業}
\def\keywordsEn{Keyword, Thesis, Template, Graduate me}
%%%%% Set letters filename | 設定插入文件 %%%%%
% This setting for main.tex default letters.
% It will not insert PDF if file non-exist or empty .
% 此為 main.tex 預設插入之 PDF,檔案不存在或空白則不插入。
% 碩博士論文電子檔授權書 Authorization Letter (for electronic)
\def\letterAuthEl{letter_authorization.pdf}
% 碩博士紙本論文延後公開/下架申請書。(如需延後公開者,才需要裝訂於論文內頁)
\def\letterPubReq{letter_publication_request.pdf}
% 指導教授推薦書
\def\letterRecom {letter_recommendation.pdf}
% 口試委員審定書
\def\letterVerif {letter_verification.pdf}
%%%%% Bibliography | 文獻列表 %%%%%
\def\bibManType{2} % {0}/{1}/{2} 0 = Embedded, 1 = BibTeX, 2 = biber / BibLaTeX
\def\bibStyle{ieee} % Default ``ieee'' with BibLaTeX. If you use BibTeX change to ``ieeetr''.
% BibLaTeX ref: https://www.sharelatex.com/learn/Biblatex_bibliography_styles
% BibTeX ref: https://www.sharelatex.com/learn/Bibtex_bibliography_styles
\setboolean{bibStyleNameYear}{false} % {true}/{false} true for use name,year to sort and cite.(If you want use custom option in .cls, set false here. )
%%%%% Set OS | 設定作業系統 %%%%%
% It will overwrite \OS if your LaTeX compile parameter has ``-shell-escape''(Texstudio default enable).
% Linux user: keep setting or add ``-shell-escape'' to compiler.
% Mac OS X user: Set to mac or add ``-shell-escape'' to compiler.
% Windows user: Don't need change setting.
\def\OS{linux} % {linux}/{mac}/{win}, only effect auto select CJK font.(CJK means Chinese, Japanese, and Korean)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Font size or style | 字體大小、風格
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% Set font | 設定中英文字型 %%%%%
% Keep empty for default font. CJK font must set OS for auto select.
% Setting by name of font(English will be better) or font filename.
% Linux 利用指令 fc-list :lang=zh 來查詢可以用的字體名稱。
% Windows 使用內建字型管理查詢。建議填英文字型名稱。
\def\mainfont {} % default use Latin Modern Roman (lmodern pkg.)
\def\sansfont {}
\def\monofont {}
\def\CJKmainfont{}
\def\CJKsansfont{}
\def\CJKmonofont{}
%%%%% Style of fonts and line stretch | 字體大小風格及行距 %%%%%
% Base font
\def\baseFontSize{14pt} % Valid: 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt
\def\baseLineStretch{1.5} % 行距(倍數)
\def\fakeBoldFactor{2} % 假粗體粗度。(Only affect CJK font.)
% Bibliography
\def\bibFontStyle{\small}
\def\bibLineStretch{1.2}
% Table
\def\floatFontStyle{\small} % content of table
\def\tableLineStretch{1.2}
% Caption
\def\captionFontStyle{\small}
\def\subcaptionFontStyle{\footnotesize}
\def\captionLineStretch{1.2}
% Page
\def\pageHeaderStyle{\sffamily\itshape\footnotesize}
\def\pageFooterStyle{\sffamily\footnotesize}
% listing font style set by basicstyle in \lstdefinestyle, see macro_preamble.tex
% todonotes font style set by textsize option when package loading, see thesis_base.cls . default \footnotesize
%%%%% Style of titles | 標題風格 %%%%%
\def\titlepageFontFamily{\rmfamily\CJKfamily{sf}}
% set "\rmfamily\CJKfamily{sf}" to mix rm for English and sf(default Kai) for CJK, see wiki on TW_Thesis_Template.
\def\abstractHeaderStyle{\sffamily\Large} % Information on abstract, cls default use \centering
\def\chapterTitleNumStyle {\sffamily\LARGE\bfseries} % Number of chapter, only for en
\def\chapterTitleStyle {\sffamily\huge\bfseries} % cls default use \centering for zh
\def\sectionTitleStyle {\sffamily\Large\bfseries}
\def\subsectionTitleStyle {\sffamily\large\bfseries}
\def\subsubsectionTitleStyle{\sffamily\normalsize\bfseries}
\def\paragraphTitleStyle {\sffamily\normalsize\bfseries}
\def\subparagraphTitleStyle {\sffamily\normalsize\bfseries}
% Section numbering
\def\secNumDepth{4} % Depth of section Numbering. 設定章節標題給予數字標號的深度, \paragraph == 4
\def\titleNumStyle{0} % 0/1
\def\indentBlockSSS{0mm} % indent \subsubsection{}
\def\indentBlockPar{0mm} % indent \paragraph{}
\def\indentBlockSPar{0mm} % indent \subparagraph{}
%%%%% Style of TOC | 目錄風格 %%%%%
\def\tocDepth{2} % Depth of TOC. 目錄顯示層級,\subsection == 2
\def\tocStyleAlign{0} % 0/1 see tutorial. (0 -> original)
\def\tocStyleChapter{1} % 0/1/2
\def\tocStyleChapterFontFM{} % {\itshape} etc. TOC chapter addition style to frontmatter. Only affect in \tocStyleChapter{1} .
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Pages style | 頁面風格
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% Watermark | 浮水印 %%%%%
% Add a watermark to every page after \startWatermark .
% It will search (image) filename in figures folder.
% Package (\wmMethod) bug / disadvantages:
% background: Background failed in all \includepdf page. Keep for compatibility.
% eso-pic: No, but still failed in some \includepdf page.
\def\wmContent{ntou_logo.gif} % 圖檔名或文字 | image filename or text.
\def\wmMethod{1} % {0}/{1} 0 == background pkg. , 1 == eso-pic pkg. Recommend eso-pic
\def\wmScale{1} % 縮放比
\def\wmOpacity{1} % 透明度
\def\wmShiftFromCenterX{0mm} % 圖片中心相對紙張中心垂直位移
\def\wmShiftFromCenterY{0mm} % 圖片中心相對紙張中心水平位移
\def\wmAngle{0} % 旋轉角度
% Start page:
% 0 == Manually, start at \startWatermark .
% 1 == Auto start at 1st physical page(include cover/titlepage).
% 2 == Auto start at 2nd physical page(include cover/titlepage).
% note: {1}/{2} request set ``publish'' (at line 2) to display.
\def\wmStartPage{2} % {0}/{1}/{2}
%%%%% Really blank page | 純白空白頁 %%%%%
\setboolean{reallyBlankPage}{false} % {true}/{false} true for use really blank pages between chapters.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Misc | 雜項
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% TOC (Table Of Contents) | 目錄 %%%%%
% Add TOC/LOF/LOT entry to TOC
\setboolean{tocEntryToToc}{true} % {true}/{false}, Table Of Contents
\setboolean{lofEntryToToc}{false} % {true}/{false}, List Of Figures
\setboolean{lotEntryToToc}{false} % {true}/{false}, List Of Tables
%%%%% PDF %%%%%
\setboolean{pdfLinkBoxDisplay}{true} % {true}/{false} ,Draw a box on the link. It only display in pdf viewer, not on paper.