M README.md => README.md +61 -52
@@ 1,29 1,8 @@
-# NYCU-thesis-template
-
-* https://www.overleaf.com/latex/templates/nycu-thesis-template/jgcmcnchmbrc
-
-## 國立陽明交通大學的碩博士論文Latex
-
-NYCU (National Yang Ming Chiao Tung University) thesis template. Some graduate students in our lab have submitted their thesis to NYCU library with this template. This template supports English TOC & 中文目錄. You can change this by uncommenting a command.
-
----
-## 圖書館的資訊
-* 學位論文編寫事項 https://www.lib.nycu.edu.tw/custom_label?menu=64&lid=6
-* 教務處的學位論文相關表件 https://aa.nycu.edu.tw/aa/ch/app/data/list?module=nycu0038&id=2468
-* 書名頁學位名稱英文,請依照註冊組提供各學院、系所學位中英文名稱.
- * 學位授予名稱 https://aa.nycu.edu.tw/aa/ch/app/statisticalmap/list?module=statisticalmap&id=4358
-* 臺灣博碩士論文知識加值系統 https://ndltd.ncl.edu.tw/
- * 可用來查詢前人的論文, 看之前的畢業生是怎麼寫
-* 圖書館FB: https://www.facebook.com/NYCULIB
-
----
-這份latex有投稿到overleaf上作為template XD
-* https://www.overleaf.com/latex/templates/nycu-thesis-template/jgcmcnchmbrc
-
-實驗室同學大多使用此樣板上傳論文到圖書館, 應該是沒太多問題(!?)
-
-如果是overleaf的新使用者 & 願意贊助的話, 可以用我的推薦連結:
-* https://www.overleaf.com?r=cc96d36b&rm=d&rs=b (幫我增加點數 XD)
+# NYCU-thesis-template (國立陽明交通大學的碩博士論文Latex樣板)
+* Overleaf template: https://www.overleaf.com/latex/templates/nycu-thesis-template/jgcmcnchmbrc
+* NYCU (National Yang Ming Chiao Tung University) thesis template. Some graduate students in our lab have submitted their thesis to NYCU library with this template. This template supports English TOC & 中文目錄. You can change this by uncommenting a command.
+* 實驗室同學大多使用此樣板上傳論文到圖書館, 應該是沒太多問題(!?)
+* 如果是overleaf的新使用者 & 願意贊助的話, 可以用我的推薦連結: https://www.overleaf.com?r=cc96d36b&rm=d&rs=b (幫我增加點數, 還缺三個就滿了 XD)
----
## 使用方式
@@ 36,7 15,6 @@ NYCU (National Yang Ming Chiao Tung University) thesis template. Some graduate s
* 支援碩士+博士論文格式
* 開啟 \toggletrue{iamphd} 就變成博士論文
* 畢業系所的資料改到主頁, 在main.tex裡填入系所的資訊, 就會連帶更新後面的封面、書名頁、中英文摘要
-* 自動調整書名頁的中英文標題大小, 維持在一列的範圍. 標題太長也不會被換行, 這樣浮水印可以包住學校資訊
### 主頁的說明(main.tex)
* 使用英文目錄: 不需要改動
@@ 44,50 22,46 @@ NYCU (National Yang Ming Chiao Tung University) thesis template. Some graduate s
#### 填寫個人資料
```
-% --------------------------------------------
-% 在這邊寫自己的資料
+% #### 下面是自己的資料 ####
+
+% 博士班就把下方註解拿掉吧!!
+%\toggletrue{iamphd}
% 論文名稱
-\newcommand{\chineseTitle}{中文論文名字}
+\newcommand{\chineseTitle}{論文名稱}
\newcommand{\englishTitle}{English Title}
-% 自己的名字
+% 自己的名字 (英文名字有兩種寫法, 一個是姓在後, 一個是放前面還有逗號. )
\newcommand{\studentCnName}{學生名字}
\newcommand{\studentEnName}{XXXX Wu} % 書名頁
\newcommand{\studentEnNameA}{Wu, XXXX} % 封面用
-% 英文名字有兩種寫法, 一個是姓在後, 一個是放前面.
% 教授的名字
\newcommand{\advisorCnName}{指導教授名字}
\newcommand{\advisorEnName}{OOOO Tseng} % 書名頁
\newcommand{\advisorEnNamex}{Tseng, OOOO} % 封面用
-% 共同指導教授的名字, 若有再填寫即可.
-% 如果你有第三位共同指導教授, 就自己改tex裡面的內容吧 XD
+% 共同指導教授的名字, 若有再填寫即可. 目前只支援兩位指導教授的欄位
%\newcommand{\advisorCnNameB}{共同指導教授名字}
%\newcommand{\advisorEnNameB}{OOO Lin} % 書名頁
%\newcommand{\advisorEnNameBx}{Lin, OOO} % 封面用
-
% 論文的日期
\newcommand{\ThesisDate}{August 2022}
\newcommand{\ThesisDateTW}{中華民國~ 一一一年八月}
-
-% 博士班就把下方註解拿掉吧!!
-%\toggletrue{iamphd}
-% --------------------------------------------
```
#### 封面&書名頁
-* 目前設計是假設論文名稱都是一行. 如果中文or英文名稱太長會自動換行, 可以手動調整inside.tex裡的標題字體大小, 這樣就可以讓浮水印剛好包住校名還有系所資訊. (看起來比較好看!?)
```
-% [書名頁] 各學院、系所、學位中文、英文名稱:
-\newcommand{\CollegeCnName}{資訊學院} % 這個其實沒用到, 不過為了一致還是放進來
-\newcommand{\CollegeEnName}{College of Computer Science}
-\newcommand{\DepartInstitCnName}{網路工程研究所} % 系所名稱, 請看下方[說明1]
-\newcommand{\DepartInstitEnName}{Institute of Network Engineering}
-\newcommand{\DegreeName}{Master of Science} % 學位名稱, 常見的是Master of Science, 不過這個有很多寫法, 要記得查學校的資料.
+% [書名頁] 請參考 學位授予名稱 的寫法
+% 下面變數也改為跟表格一樣的名稱, 後綴的CN與EN表示中英文
+% 學校連結: https://aa.nycu.edu.tw/aa/ch/app/statisticalmap/list?module=statisticalmap&id=4358
+\newcommand{\NameofCollegeCN}{資訊學院} % 這個其實沒用到, 不過為了一致還是放進來
+\newcommand{\NameofCollegeEN}{College of Computer Science}
+\newcommand{\NameofDepartmentInstituteCN}{網路工程研究所} % 系所名稱, 請看下方[說明1]
+\newcommand{\NameofDepartmentInstituteEN}{Institute of Network Engineering}
+\newcommand{\NameofDegree}{Master of Science} % 學位名稱, 常見的是Master of Science, 不過這個有很多寫法, 要記得查學校的資料.
\newcommand{\ResearchTopic}{Computer Science} % 研究領域, 請看下方[說明2]
% [說明1]
@@ 95,13 69,11 @@ NYCU (National Yang Ming Chiao Tung University) thesis template. Some graduate s
% 如果你的單位是系所合一, 就用 Department. 如: 土木系碩士班請用 Department
% 只有所的話, 就用Institute. 如: 電信所請用Institute
-
% [說明2]
% 書名頁的最後會有 in OOOO 的內容. 這個目前找不到通用性的寫法.
% 大家就自行找前人的畢業論文, 看同系所的人是怎麼寫, 就跟他們寫一樣的吧.
-% 不過有些系所不需要寫這個東西, ex: 教育所. 不需要的話就把\ResearchTopic整句刪掉
-
-% 中英文名稱請看學校網站: https://aa.nycu.edu.tw/reg/統計資訊/
+% 不過有些系所不需要寫這個東西, ex: 教育所.
+% 不需要的話就把\ResearchTopic整句刪掉
```
@@ 149,7 121,43 @@ NYCU (National Yang Ming Chiao Tung University) thesis template. Some graduate s
\bibliography{ref}
```
-----
+---
+---
+## 填寫範例
+### 填寫範例 (博士班)
+```
+\toggletrue{iamphd}
+\newcommand{\CollegeCnName}{電機學院}
+\newcommand{\CollegeEnName}{College of Electrical and Computer Engineering}
+\newcommand{\InstituteCnName}{電信工程研究所}
+\newcommand{\InstituteEnName}{Institute of Communications Engineering}
+\newcommand{\DegreeName}{Doctor of Philosophy}
+\newcommand{\ResearchTopic}{Electronics and Electrical Engineering}
+```
+
+### 填寫範例 (碩士班)
+```
+\newcommand{\CollegeCnName}{資訊學院}
+\newcommand{\CollegeEnName}{College of Computer Science}
+\newcommand{\InstituteCnName}{網路工程研究所}
+\newcommand{\InstituteEnName}{Institute of Network Engineering}
+\newcommand{\DegreeName}{Master of Science}
+\newcommand{\ResearchTopic}{Computer Science}
+```
+
+---
+---
+## 圖書館的資訊
+* 學位論文編寫事項 https://www.lib.nycu.edu.tw/custom_label?menu=64&lid=6
+* 教務處的學位論文相關表件 https://aa.nycu.edu.tw/aa/ch/app/data/list?module=nycu0038&id=2468
+* 書名頁學位名稱英文,請依照註冊組提供各學院、系所學位中英文名稱.
+ * 學位授予名稱 https://aa.nycu.edu.tw/aa/ch/app/statisticalmap/list?module=statisticalmap&id=4358
+* 臺灣博碩士論文知識加值系統 https://ndltd.ncl.edu.tw/
+ * 可用來查詢前人的論文, 看之前的畢業生是怎麼寫
+* 圖書館FB: https://www.facebook.com/NYCULIB
+
+---
+---
閒聊: 大概每年的6月份會更新一下. 除非我換工作離開學校(!?) 不然應該會一直更新下去 XD
* 原始檔案已經不可考, 是研究所時期實驗室傳承下來的版本, 想當年還沒有overleaf, 自己裝miktex超麻煩 zzz...
@@ 164,4 172,5 @@ NYCU (National Yang Ming Chiao Tung University) thesis template. Some graduate s
* [113年2月19日後上傳圖書館博碩士論文系統者適用]
* 15. 學位論文發表形式確認書【詳附件 5】
* 16. 著作彙編之學位論文資訊及彙編學術著作之共同作者貢獻聲明書(非著作彙
- * 可以去這個連結看15與16: https://aa.nycu.edu.tw/userfiles/aach/files/20240125111443441.pdf>
\ No newline at end of file
+ * 可以去這個連結看15與16: https://aa.nycu.edu.tw/userfiles/aach/files/20240125111443441.pdf
+* 2024.05: 更新一下 & 修飾主頁的內容<
\ No newline at end of file
M Sections/0.1.Acknowledgement.tex => Sections/0.1.Acknowledgement.tex +2 -5
@@ 1,6 1,4 @@
-
% --- Acknowledgment ---
-\begin{CJK*}{UTF8}{bkai}
\begin{center}
\Large
\textbf{誌~~~~~~謝}
@@ 15,10 13,9 @@
\vspace{3cm}
\begin{flushright}
-XXXXX 於
+XXXXX於
國立交通大學網路工程研究所碩士班
中華民國 \, 108 年 \, 8 \,月
-\end{flushright}
-\end{CJK*}
+\end{flushright}<
\ No newline at end of file
M Sections/0.2.Abstract_chinese.tex => Sections/0.2.Abstract_chinese.tex +1 -1
@@ 15,7 15,7 @@
\vspace{0.5cm}
- 國立陽明交通大學\ \DepartInstitCnName\ \iftoggle{iamphd}{博士班}{碩士班} \\[0.5cm]
+ 國立陽明交通大學\ \NameofDepartmentInstituteCN\ \iftoggle{iamphd}{博士班}{碩士班} \\[0.5cm]
\textbf{摘~~~~~~~~要} \\[0.5cm]
\end{center}
M Sections/0.3.Abstract.tex => Sections/0.3.Abstract.tex +1 -1
@@ 18,7 18,7 @@
\vspace{0.5cm}
\begin{singlespace}
- \DepartInstitEnName\\
+ \NameofDepartmentInstituteEN\\
National Yang Ming Chiao Tung University\\[0.5cm]
\end{singlespace}
M covers/front_var.tex => covers/front_var.tex +2 -2
@@ 3,12 3,12 @@
\begin{center}
\vspace{0.6cm}
\fontsize{18}{22}\selectfont{國立陽明交通大學} \\
- \fontsize{18}{22}\selectfont{\DepartInstitCnName} \\
+ \fontsize{18}{22}\selectfont{\NameofDepartmentInstituteCN} \\
\fontsize{18}{22}\selectfont{\iftoggle{iamphd}{博士論文}{碩士論文}}\\
\vspace{1cm}
-\fontsize{14}{17}\selectfont{\DepartInstitEnName} \\
+\fontsize{14}{17}\selectfont{\NameofDepartmentInstituteEN} \\
\fontsize{16}{19}\selectfont{National Yang Ming Chiao Tung University} \\
\fontsize{16}{19}\selectfont{\iftoggle{iamphd}{Doctoral Dissertation}{Master Thesis}} \\
M covers/inside_var.tex => covers/inside_var.tex +6 -42
@@ 14,44 14,8 @@
\begin{center}
\begin{minipage}[t][3cm][t]{\textwidth}
-
- % ======================================
- % 使用變數決定標題文字大小, 這邊的寫法是用一列來呈現所有文字
- % 如果覺得執行結果很奇怪, 可以把這一段註解掉, 改用另一種呈現方式
- \ifthenelse{\chineseTitleLength > \chinesethresh}
- {
- \begin{adjustbox}{width=0.95\linewidth}
- \chineseTitle
- \end{adjustbox}
- \vspace{-0.4cm}
- }
- { % else
- \centering \LARGE \chineseTitle
- }
-
- \ifthenelse{\englishTitleLength > \englishthresh}
- {
- \begin{adjustbox}{width=0.96\linewidth}
- \englishTitle
- \end{adjustbox}
- \vspace{-0.4cm}
- }
- { % else
- \centering \LARGE \englishTitle
- }
-
- % 使用變數決定標題文字大小 end
- % ======================================
-
- % ======================================
- % 另一種呈現方式
- % 預設是\LARGE, 也可以小一點: \Large, 再小一點: \large
- % \LARGE \chineseTitle \\
- % \LARGE \englishTitle \\
- % ======================================
-
- %\vspace{1.3cm}
-
+ \centering \LARGE \chineseTitle \\
+ \centering \LARGE \englishTitle \\
\end{minipage}
\fontsize{14}{14}\selectfont{
@@ 67,7 31,7 @@
\vspace{1.3cm}
\fontsize{14}{17}\selectfont{國立陽明交通大學} ~\\
- \fontsize{14}{17}\selectfont{\DepartInstitCnName} ~\\
+ \fontsize{14}{17}\selectfont{\NameofDepartmentInstituteCN} ~\\
\fontsize{14}{17}\selectfont{\iftoggle{iamphd}{博士論文}{碩士論文}} ~\\
@@ 76,12 40,12 @@
\fontsize{14}{14}\selectfont{
A \iftoggle{iamphd}{Dissertation}{Thesis} ~\\
- Submitted to \DepartInstitEnName \\
- \CollegeEnName \\
+ Submitted to \NameofDepartmentInstituteEN \\
+ \NameofCollegeEN \\
National Yang Ming Chiao Tung University \\
in partial Fulfillment of the Requirements \\
for the Degree of \\
- \DegreeName \\
+ \NameofDegree \\
\ifdefined\ResearchTopic
in \\ \ResearchTopic
\fi
M covers/load_env.tex => covers/load_env.tex +1 -0
@@ 115,6 115,7 @@ Style2*=\tiny$\blacksquare$ ,Style3*=$\circ$ ,Style4*=-- )
\usepackage{etoolbox}
\newtoggle{toc-use-cn}
\newtoggle{iamphd}
+\newtoggle{EnableDynTitle}
\usepackage{adjustbox}
M main.tex => main.tex +31 -55
@@ 1,51 1,51 @@
-% 如果需要更新, 請email至: wufish@gmail.com
+% update date: 2024.05.09
+% 有問題or更新需求可email至: wufish@gmail.com
% 也可以到github留言: https://github.com/coldwufish/NYCU-thesis-template
% 載入會用到的套件, 通常不需要修改這邊的資料
\input{covers/load_env.tex}
-% 為了看起來比較協調, 目錄的語言改為全部英文 or 全部中文, 中英混雜有點奇怪.
-% 要使用中文目錄可把下面的註解拿掉, 當\toggletrue{toc-use-cn}啟用才會使用中文目錄, 預設使用英文目錄
+% 目錄的語言可以設定成全英文 or 全中文 (預設英文目錄)
+% 想使用中文目錄的話, 可把下面的註解拿掉
%\toggletrue{toc-use-cn}
-% ====================================================
-% 在這邊寫自己的資料
+
+% #### 下面是自己的資料 ####
+
+% 博士班就把下方註解拿掉吧!!
+%\toggletrue{iamphd}
% 論文名稱
-\newcommand{\chineseTitle}{中文論文名字}
+\newcommand{\chineseTitle}{論文名稱}
\newcommand{\englishTitle}{English Title}
-% 自己的名字
+% 自己的名字 (英文名字有兩種寫法, 一個是姓在後, 一個是放前面還有逗號. )
\newcommand{\studentCnName}{學生名字}
\newcommand{\studentEnName}{XXXX Wu} % 書名頁
\newcommand{\studentEnNameA}{Wu, XXXX} % 封面用
-% 英文名字有兩種寫法, 一個是姓在後, 一個是放前面.
% 教授的名字
\newcommand{\advisorCnName}{指導教授名字}
\newcommand{\advisorEnName}{OOOO Tseng} % 書名頁
\newcommand{\advisorEnNamex}{Tseng, OOOO} % 封面用
-% 共同指導教授的名字, 若有再填寫即可
+% 共同指導教授的名字, 若有再填寫即可. 目前只支援兩位指導教授的欄位
%\newcommand{\advisorCnNameB}{共同指導教授名字}
%\newcommand{\advisorEnNameB}{OOO Lin} % 書名頁
%\newcommand{\advisorEnNameBx}{Lin, OOO} % 封面用
-
% 論文的日期
\newcommand{\ThesisDate}{August 2022}
\newcommand{\ThesisDateTW}{中華民國~ 一一一年八月}
-% 博士班就把下方註解拿掉吧!!
-%\toggletrue{iamphd}
-
-% [書名頁] 各學院、系所、學位中文、英文名稱:
-% 請參考 學位授予名稱 https://aa.nycu.edu.tw/aa/ch/app/statisticalmap/list?module=statisticalmap&id=4358
-\newcommand{\CollegeCnName}{資訊學院} % 這個其實沒用到, 不過為了一致還是放進來
-\newcommand{\CollegeEnName}{College of Computer Science}
-\newcommand{\DepartInstitCnName}{網路工程研究所} % 系所名稱, 請看下方[說明1]
-\newcommand{\DepartInstitEnName}{Institute of Network Engineering}
-\newcommand{\DegreeName}{Master of Science} % 學位名稱, 常見的是Master of Science, 不過這個有很多寫法, 要記得查學校的資料.
+% [書名頁] 請參考 學位授予名稱 的寫法
+% 下面變數也改為跟表格一樣的名稱, 後綴的CN與EN表示中英文
+% https://aa.nycu.edu.tw/aa/ch/app/statisticalmap/list?module=statisticalmap&id=4358
+\newcommand{\NameofCollegeCN}{資訊學院} % 這個其實沒用到, 不過為了一致還是放進來
+\newcommand{\NameofCollegeEN}{College of Computer Science}
+\newcommand{\NameofDepartmentInstituteCN}{網路工程研究所} % 系所名稱, 請看下方[說明1]
+\newcommand{\NameofDepartmentInstituteEN}{Institute of Network Engineering}
+\newcommand{\NameofDegree}{Master of Science} % 學位名稱, 常見的是Master of Science, 不過這個有很多寫法, 要記得查學校的資料.
\newcommand{\ResearchTopic}{Computer Science} % 研究領域, 請看下方[說明2]
% [說明1]
@@ 53,7 53,6 @@
% 如果你的單位是系所合一, 就用 Department. 如: 土木系碩士班請用 Department
% 只有所的話, 就用Institute. 如: 電信所請用Institute
-
% [說明2]
% 書名頁的最後會有 in OOOO 的內容. 這個目前找不到通用性的寫法.
% 大家就自行找前人的畢業論文, 看同系所的人是怎麼寫, 就跟他們寫一樣的吧.
@@ 63,38 62,6 @@
% --------------------------------------------
-% --------------------------------------------
-% --------------------------------------------
-% 填寫範例-1
-% 博士班範例
-%\toggletrue{iamphd}
-%\newcommand{\CollegeCnName}{電機學院}
-%\newcommand{\CollegeEnName}{College of Electrical and Computer Engineering}
-%\newcommand{\InstituteCnName}{電信工程研究所}
-%\newcommand{\InstituteEnName}{Institute of Communications Engineering}
-%\newcommand{\DegreeName}{Doctor of Philosophy}
-%\newcommand{\ResearchTopic}{Electronics and Electrical Engineering}
-
-% 碩士班範例
-%\newcommand{\CollegeCnName}{資訊學院}
-%\newcommand{\CollegeEnName}{College of Computer Science}
-%\newcommand{\InstituteCnName}{網路工程研究所}
-%\newcommand{\InstituteEnName}{Institute of Network Engineering}
-%\newcommand{\DegreeName}{Master of Science}
-%\newcommand{\ResearchTopic}{Computer Science}
-% --------------------------------------------
-% --------------------------------------------
-
-
-% [計算長度的語法]
-% 如果使用LARGE語法, 中文標題大約20個字會換行, 英文標題是30個字會換行
-% 第二頁的書名頁就改成動態調整字體大小, 讓標題維持在一列的長度
-\StrLen{\chineseTitle}[\chineseTitleLength]
-\StrLen{\englishTitle}[\englishTitleLength]
-\def\chinesethresh{20}
-\def\englishthresh{30}
-% 這邊不用理它
-
\begin{document}
\begin{CJK*}{UTF8}{bkai}
@@ 142,11 109,20 @@
\frontmatter
\pagenumbering{roman} % 小寫羅馬數字頁碼
+
{\fontfamily{ptm}\selectfont
% 中英文目錄設定放在covers/toc_var.tex 裡面, 主頁看起來比較清爽
\input{covers/toc_var.tex}
+% 裡面包含了 6-11的項目, 如下 (表格的語法應該不太會調整)
+% 6. 致謝 Acknowledgement {Sections/0.1.Acknowledgement}
+% 7 中文摘要 {Sections/0.2.Abstract_chinese}
+% 8. 英文摘要 {Sections/0.3.Abstract}
+% 9. 目錄 中文版
+% 10. 圖片目錄 中文版
+% 11. 表格目錄 中文版
+
\mainmatter
\pagenumbering{arabic} % 阿拉伯數字頁碼
@@ 168,7 144,7 @@
\iftoggle{toc-use-cn} % 使用中文
{\addcontentsline{toc}{chapter}{參考文獻}
-\renewcommand{\bibname}{參考文獻} }
+\renewcommand{\bibname}{參考文獻}}
{\addcontentsline{toc}{chapter}{References}
\renewcommand{\bibname}{References}
}
@@ 178,7 154,7 @@
}
-% 14. 附錄 Appendix
+% 14. 附錄 Appendix (需要再自己插入)
% =========================================
% [113年2月19日後上傳圖書館博碩士論文系統者適用]