Skip to content

Commit 2e3a0c0

Browse files
authored
Merge pull request #1 from anlit75/develop
v1.0
2 parents 7954705 + 8e3c05f commit 2e3a0c0

40 files changed

+1488
-8
lines changed

.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
*.aux
2+
*.lof
3+
*.log
4+
*lot
5+
*.out
6+
*.gz
7+
*.toc
8+
*.bbl
9+
*.blg
10+
.vscode
11+
*.synctex

README.md

+175-8
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,39 @@
1-
# CCU-國立中正大學 Latex 模板
2-
國立中正大學碩士論文Latex模板, XeLaTeX is required to compile this document.
1+
# 國立中正大學碩博士論文LaTex模板
2+
國立中正大學碩博士論文LaTex模板,已預先設置Times New Roman與標楷體兩種通用字型,並設置好論文基本架構,使用者只需根據自己的需求進行增減即可。
33

4-
# 模板檔案結構
4+
## 目錄
5+
- [模板檔案結構](#模板檔案結構)
6+
- [LaTex環境建置](#latex環境建置)
7+
- [vscode設置](#vscode設置)
8+
- [LaTex基礎語法](#latex基礎語法)
9+
- [標題](#標題)
10+
- [插入圖片](#插入圖片)
11+
- [插入表格](#插入表格)
12+
- [插入數學公式](#插入數學公式)
13+
- [插入演算法](#插入演算法)
14+
- [論文引用](#論文引用)
15+
- [致謝](#致謝)
16+
- [License](#license)
17+
18+
## 模板檔案結構
519

620
```
721
Template Structure
822
├── main.tex // 主文件
923
├── frontpages
24+
│   ├── abstract.tex // 中/英文摘要
1025
│   ├── acknowledgement.tex // 致謝
11-
│   └── abstract.tex // 中/英文摘要
26+
│   └── denotation.tex // 符號列表
1227
├── sections
1328
│   ├── introduction.tex // 緒論
1429
│   ├── related_work.tex // 文獻探討
1530
│   ├── method.tex // 研究方法
1631
│   ├── experiments.tex // 研究結果
1732
│   └── conclusion.tex // 結論
1833
├── backpages
34+
│   ├── appendix.tex // 附錄
1935
│   ├── bibliography.tex // 參考文獻
20-
│   ├── reference.bib // 參考文獻文件
21-
│   └── appendix.tex // 附錄
36+
│   └── reference.bib // 參考文獻文件
2237
├── figures
2338
│   ├── watermark.jpg // 浮水印
2439
│   └── ...
@@ -35,5 +50,157 @@ Template Structure
3550

3651
根據內容決定撰寫在哪個檔案,sections中的文件可以自行透過增加/移除`.tex`檔進行調整,只需將新增的檔案在主文件`main.tex`中根據位置用`\input{./path/to/texfile}`新增即可。
3752

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.

backpages/appendix.tex

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
% !TeX root = ../main.tex
2+
3+
\appendix{A}{附錄名稱}
4+
5+
% appendix body
6+
7+
\begin{figure}[h]
8+
\centerline{\includegraphics[width=0.5\columnwidth]{gambar}}
9+
\caption*{附錄圖片}
10+
\label{figure:apxfig1}
11+
\end{figure}
12+
13+
\begin{table}[h]
14+
\centering
15+
\caption*{附錄表格}
16+
\label{table:apxtab1}
17+
\begin{tabular}{p{\textwidth/2}p{\textwidth/2}}
18+
\hline
19+
\multicolumn{1}{c}{\textbf{硬體}} & \multicolumn{1}{c}{\textbf{軟體}} \\ \hline
20+
Intel(R) Core(TM) i7-8700 CPU & Ubuntu 18.04.3 LTS \\
21+
NVIDIA GeForce GTX 1080 Ti & CUDA 10.1 \\
22+
DDR4 32GB & PyTorch 1.3.1 \\
23+
SSD 1TB & \\ \hline
24+
\end{tabular}
25+
\end{table}

backpages/bibliography.tex

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
% Bibliography
2+
\clearpage
3+
\phantomsection
4+
\addcontentsline{toc}{chapter}{\bfseries 參考文獻}
5+
\begin{center}
6+
{\bfseries\chinnesesize 參考文獻}
7+
\end{center}
8+
\bibliographystyle{ieeetr}
9+
\bibliography{references}
10+
% Appendix

backpages/references.bib

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
% Encoding: UTF-8
2+
@article{Rowe:2005:ASR,
3+
author = {Lawrence A. Rowe and Ramesh Jain},
4+
title = {ACM SIGMM retreat report on future directions in multimedia research},
5+
journal = {ACM Transactions on Multimedia Computing, Communications, and Applications},
6+
volume = {1},
7+
number = {1},
8+
year = {2005},
9+
pages = {3--13},
10+
}
11+
12+
@Article{vinet1989universal,
13+
author = {Vinet, Pascal and Rose, James H and Ferrante, John and Smith, John R},
14+
title = {Universal features of the equation of state of solids},
15+
journal = {Journal of Physics: Condensed Matter},
16+
year = {1989},
17+
volume = {1},
18+
number = {11},
19+
pages = {1941},
20+
publisher = {IOP Publishing},
21+
}
22+
23+
@Comment{jabref-meta: databaseType:bibtex;}

ccusetup.tex

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
% !TeX root = ./main.tex
2+
3+
% --------------------------------------------------
4+
% 資訊設定(Information Configs)
5+
% --------------------------------------------------
6+
7+
\ccusetup{
8+
university* = {National Chung Cheng University},
9+
university = {國立中正大學},
10+
college = {工學院},
11+
college* = {College of Engineering},
12+
institute = {電機工程研究所},
13+
institute* = {Department of Electrical Engineering}, % 請確認您的科系為Department of xxx或Institute of xxx
14+
title = {國立中正大學碩博士畢業論文模版},
15+
title* = {National Chung Cheng University (CCU) \\ Thesis/Dissertation Template in \LaTeX},
16+
author = {鄭庭安},
17+
author* = {Ting-An Cheng},
18+
advisor = {余松年},
19+
advisor* = {Sung-Nien Yu},
20+
date = {一百一十四年~七月}, % ~ 表示空格
21+
keywords = {LaTeX, 中文, 論文, 模板},
22+
keywords* = {LaTeX, CJK, Thesis, Template},
23+
}
24+
25+
% --------------------------------------------------
26+
% 加載套件(Include Packages)
27+
% --------------------------------------------------
28+
29+
\usepackage{amsmath, amsthm, amssymb} % 數學環境
30+
\usepackage{ulem} % 下劃線、雙下劃線與波浪紋效果
31+
\usepackage{booktabs} % 改善表格設置
32+
\usepackage{multirow} % 合併儲存格
33+
\usepackage{diagbox} % 插入表格反斜線
34+
\usepackage{array} % 調整表格高度
35+
\usepackage{longtable} % 支援跨頁長表格
36+
\usepackage{paralist} % 列表環境
37+
\usepackage{zhnumber} % 中文數字
38+
\usepackage{algorithm, algpseudocode} % 演算法
39+
\usepackage{graphics, graphicx} % 圖片
40+
\usepackage{rotating} % 旋轉圖片
41+
42+
% 下列產生亂字的pkg可刪除
43+
\usepackage{lipsum} % 英文亂字
44+
\usepackage{zhlipsum} % 中文亂字

0 commit comments

Comments
 (0)