1
- # CCU-國立中正大學 Latex 模板
2
- 國立中正大學碩士論文Latex模板, XeLaTeX is required to compile this document.
1
+ # 國立中正大學碩博士論文LaTex模板
2
+ 國立中正大學碩博士論文LaTex模板,已預先設置Times New Roman與標楷體兩種通用字型,並設置好論文基本架構,使用者只需根據自己的需求進行增減即可。
3
3
4
- # 模板檔案結構
4
+ ## 目錄
5
+ - [ 模板檔案結構] ( #模板檔案結構 )
6
+ - [ LaTex環境建置] ( #latex環境建置 )
7
+ - [ vscode設置] ( #vscode設置 )
8
+ - [ LaTex基礎語法] ( #latex基礎語法 )
9
+ - [ 標題] ( #標題 )
10
+ - [ 插入圖片] ( #插入圖片 )
11
+ - [ 插入表格] ( #插入表格 )
12
+ - [ 插入數學公式] ( #插入數學公式 )
13
+ - [ 插入演算法] ( #插入演算法 )
14
+ - [ 論文引用] ( #論文引用 )
15
+ - [ 致謝] ( #致謝 )
16
+ - [ License] ( #license )
17
+
18
+ ## 模板檔案結構
5
19
6
20
```
7
21
Template Structure
8
22
├── main.tex // 主文件
9
23
├── frontpages
24
+ │ ├── abstract.tex // 中/英文摘要
10
25
│ ├── acknowledgement.tex // 致謝
11
- │ └── abstract .tex // 中/英文摘要
26
+ │ └── denotation .tex // 符號列表
12
27
├── sections
13
28
│ ├── introduction.tex // 緒論
14
29
│ ├── related_work.tex // 文獻探討
15
30
│ ├── method.tex // 研究方法
16
31
│ ├── experiments.tex // 研究結果
17
32
│ └── conclusion.tex // 結論
18
33
├── backpages
34
+ │ ├── appendix.tex // 附錄
19
35
│ ├── bibliography.tex // 參考文獻
20
- │ ├── reference.bib // 參考文獻文件
21
- │ └── appendix.tex // 附錄
36
+ │ └── reference.bib // 參考文獻文件
22
37
├── figures
23
38
│ ├── watermark.jpg // 浮水印
24
39
│ └── ...
@@ -35,5 +50,157 @@ Template Structure
35
50
36
51
根據內容決定撰寫在哪個檔案,sections中的文件可以自行透過增加/移除` .tex ` 檔進行調整,只需將新增的檔案在主文件` main.tex ` 中根據位置用` \input{./path/to/texfile} ` 新增即可。
37
52
38
- # Acknowledgement
39
- - LaTex template modified from : [ hasanabs/nsysu-thesis-latex-template] ( https://github.com/hasanabs/nsysu-thesis-latex-template ) 、 [ Hsins/NTU-Thesis-LaTeX-Template] ( https://github.com/Hsins/NTU-Thesis-LaTeX-Template )
53
+ ## LaTex環境建置
54
+ - Requirements: ` MiKTex ` , ` perl ` , ` vscode `
55
+ 1 . 安裝` MiKTex ` ,並設置為預設的compiler ( https://miktex.org/download )
56
+ 2 . 安裝` perl ` ( https://strawberryperl.com/ )
57
+ 2 . 安裝` vscode ` ,並安裝` LaTeX Workshop ` 擴充程式
58
+
59
+ ### vscode設置
60
+ 在` settings.json ` 中,recipe可以調換順序,最上面的是預設執行的compiler,須將` "latexmk (xelatex)" ` 組別移動到最上方,如下所示 :
61
+ ``` json
62
+ "latex-workshop.latex.recipes" : [
63
+ {
64
+ "name" : " latexmk (xelatex)" ,
65
+ "tools" : [
66
+ " xelatexmk"
67
+ ]
68
+ },
69
+ {
70
+ "name" : " latexmk" ,
71
+ "tools" : [
72
+ " latexmk"
73
+ ]
74
+ },
75
+ {
76
+ "name" : " latexmk (latexmkrc)" ,
77
+ "tools" : [
78
+ " latexmk_rconly"
79
+ ]
80
+ },
81
+ {
82
+ "name" : " latexmk (lualatex)" ,
83
+ "tools" : [
84
+ " lualatexmk"
85
+ ]
86
+ },
87
+ ...
88
+ ],
89
+ ```
90
+
91
+ ## LaTex基礎語法
92
+ ### 標題
93
+ ``` latex
94
+ % 編號標題
95
+ \section{大標題} % 大標題
96
+ \subsection{小標題} % 小標題
97
+ \subsubsection{小小標題} % 小小標題
98
+
99
+ % 無編號標題
100
+ \section*{無編號大標題} % 無編號大標題
101
+ \subsection*{無編號小標題} % 無編號小標題
102
+ \subsubsection*{無編號小小標題} % 無編號小小標題
103
+ ```
104
+
105
+ ### 插入圖片
106
+ ``` latex
107
+ % 圖片標題在下方
108
+ 引用圖片 : \ref{figure:figname}
109
+ \begin{figure}[htbp]
110
+ \centering
111
+ \includegraphics[width=0.5\textwidth]{./path/to/figure}
112
+ \caption{圖片標題}
113
+ \label{figure:figname}
114
+ \end{figure}
115
+ ```
116
+
117
+ ### 插入表格
118
+ ``` latex
119
+ % 表格標題在上方
120
+ 引用表格 : \ref{table:tablename}
121
+ \begin{table}[htbp]
122
+ \centering
123
+ \caption{表格標題}
124
+ \label{table:tablename}
125
+ \begin{tabular}{|c|c|c|}
126
+ \hline
127
+ 1 & 2 & 3 \\
128
+ \hline
129
+ 4 & 5 & 6 \\
130
+ \hline
131
+ \end{tabular}
132
+ \end{table}
133
+ ```
134
+
135
+ ### 插入數學公式
136
+ ``` LaTeX
137
+ % 公式標題在右方
138
+ 引用公式 : \ref{equation:equationname}
139
+ \begin{equation}
140
+ \label{equation:equationname}
141
+ \begin{aligned}
142
+ \mathbf{X} &= \mathbf{U} \mathbf{\Sigma} \mathbf{V}^T
143
+ \end{aligned}
144
+ \end{equation}
145
+ ```
146
+
147
+ ### 插入演算法
148
+ ``` LaTeX
149
+ % 演算法標題在上方
150
+ 引用演算法 : \ref{algorithm:algorithmname}
151
+ \begin{algorithm}[htbp]
152
+ \caption{演算法標題}
153
+ \label{algorithm:algorithmname}
154
+ \begin{algorithmic}[1]
155
+ \Require $n \geq 0$
156
+ \Ensure $y = x^n$
157
+ \State $y \leftarrow 1$
158
+ \State $X \leftarrow x$
159
+ \State $N \leftarrow n$
160
+ \While{$N \neq 0$}
161
+ \If{$N$ is even}
162
+ \State $X \leftarrow X \times X$
163
+ \State $N \leftarrow N / 2$
164
+ \Else[$N$ is odd]
165
+ \State $y \leftarrow y \times X$
166
+ \State $N \leftarrow N - 1$
167
+ \EndIf
168
+ \EndWhile
169
+ \end{algorithmic}
170
+ \end{algorithm}
171
+ ```
172
+
173
+ ### 論文引用
174
+ ``` LaTeX
175
+ 引用論文 : \cite{paper1}, \cite{paper2, paper3}
176
+ ```
177
+
178
+ ## 致謝
179
+ 本LaTex模板修改自 :
180
+ - [ joeyuping/ccu-thesis-latextemplate] ( https://github.com/joeyuping/ccu-thesis-latextemplate )
181
+ - [ Hsins/NTU-Thesis-LaTeX-Template] ( https://github.com/Hsins/NTU-Thesis-LaTeX-Template )
182
+ - [ hasanabs/nsysu-thesis-latex-template] ( https://github.com/hasanabs/nsysu-thesis-latex-template )
183
+
184
+
185
+ ## License
186
+ MIT License
187
+
188
+ CopyRight (c) 2024 Ting-An Cheng
189
+
190
+ Permission is hereby granted, free of charge, to any person obtaining a copy
191
+ of this software and associated documentation files (the "Software"), to deal
192
+ in the Software without restriction, including without limitation the rights
193
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
194
+ copies of the Software, and to permit persons to whom the Software is
195
+ furnished to do so, subject to the following conditions:
196
+
197
+ The above copyright notice and this permission notice shall be included in all
198
+ copies or substantial portions of the Software.
199
+
200
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
201
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
202
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
203
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
204
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
205
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
206
+ SOFTWARE.
0 commit comments