~xdavidwu/cskloudv3-thesis

d2f4c41a0b181dcbb8e1b16989c16d41ec130a15 — KunRu Wu 1 year, 4 months ago f6a2f62
整合碩博士寫法, 並且將系所單位設為變數
11 files changed, 222 insertions(+), 175 deletions(-)

M README.md
R Sections/{Acknowledgement.tex => 0.1.Acknowledgement.tex}
R Sections/{Abstract_chinese.tex => 0.2.Abstract_chinese.tex}
R Sections/{Abstract.tex => 0.3.Abstract.tex}
D covers/front_phd.tex
R covers/{front.tex => front_var.tex}
D covers/inside_phd.tex
R covers/{inside.tex => inside_var.tex}
M covers/load_env.tex
A covers/學校格式資料/碩士論文格式中文.pdf
R paper.tex => main.tex
M README.md => README.md +71 -21
@@ 5,6 5,15 @@
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/reg/%E7%B5%B1%E8%A8%88%E8%B3%87%E8%A8%8A
* 臺灣博碩士論文知識加值系統 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



@@ 14,11 23,17 @@ https://www.overleaf.com/latex/templates/nycu-thesis-template/jgcmcnchmbrc

----
## 使用方式
* 論文的主頁是 paper.tex, 在這邊輸入個人資料 (自己名字, 指導教授, 論文名稱...等), 然後在此頁案按compile就會生成PDF了
* 論文樣板是網工所, 如果是其他系所的人, 請去修改 covers 裡面的 inside.tex 與 front.tex
* 論文章節是拆成多個檔案, 可留意paper.tex裡面提到的資訊
* 論文的主頁是 main.tex, 在這邊輸入個人資料 (自己名字, 指導教授, 論文名稱...等), 然後在此頁案按compile就會生成PDF了
* 論文章節是拆成多個檔案, 可留意main.tex裡面提到的資訊

## 本樣板特色 (自己說的XD)
* 支援中文+英文版的目錄格式
  * 開啟 \toggletrue{toc-use-cn} 就變成中文目錄
* 支援碩士+博士論文格式
  * 開啟 \toggletrue{iamphd} 就變成博士論文
* 畢業系所的資料改到主頁, 在main.tex裡填入系所的資訊, 就會連帶更新後面的封面、書名頁、中英文摘要

### 主頁的說明(paper.tex)
### 主頁的說明(main.tex)
* 使用英文目錄: 不需要改動
* 使用中文目錄: 把%\toggletrue{toc-use-cn}的註解(%)拿掉



@@ 26,36 41,67 @@ https://www.overleaf.com/latex/templates/nycu-thesis-template/jgcmcnchmbrc
```
% --------------------------------------------
% 在這邊寫自己的資料

% 論文名稱
\newcommand{\chineseTitle}{中文論文名字}
\newcommand{\englishTitle}{English Title}

% 自己的名字
\newcommand{\studentCnName}{學生名字}
\newcommand{\studentEnName}{XXXX Wu} % 書名頁
\newcommand{\studentEnNameA}{Wu, XXXX} % 封面用
% 英文名字有兩種寫法, 一個是姓在後, 一個是放前面. 

\newcommand{\advisorCnName}{指導教授}
\newcommand{\advisorEnName}{OOOO Tseng} % 書名頁
\newcommand{\advisorEnNameA}{Tseng, OOOO} % 封面用
\newcommand{\ThesisDate}{August 2022} % 碩論的日期
\newcommand{\ThesisDateTW}{中華民國~ 一一一年八月}
% 教授的名字
\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英文名稱太長, 導致有換行的話, 可以手動調整標題的字體大小. 因為目前的浮水印剛好包住校名
```
% 1. 第一頁的封面, 記得修改系所
\input{covers/front.tex}        % 碩士論文的封面
\input{covers/front_phd.tex}    % 博士論文版的封面 博士論文版的封面
* 目前設計是假設論文名稱都是一行. 如果中文or英文名稱太長會自動換行, 可以手動調整inside.tex裡的標題字體大小, 這樣就可以讓浮水印剛好包住校名還有系所資訊. (看起來比較好看!?)

% 2. 第二頁的書名頁, 記得修改系所, 日期
\input{covers/inside.tex}       % 碩士論文的書名頁
\input{covers/inside_phd.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, 不過這個有很多寫法, 要記得查學校的資料.
\newcommand{\ResearchTopic}{Computer Science} % 研究領域, 請看下方[說明2]

% [說明1]
% 這邊需要填寫 XX系 or OO所 的名稱
% 如果你的單位是系所合一, 就用 Department. 如: 土木系碩士班請用 Department
% 只有所的話, 就用Institute. 如: 電信所請用Institute


% [說明2]
% 書名頁的最後會有 in OOOO 的內容. 這個目前找不到通用性的寫法. 
% 大家就自行找前人的畢業論文, 看同系所的人是怎麼寫, 就跟他們寫一樣的吧.
% 不過有些系所不需要寫這個東西, ex: 教育所. 不需要的話就把\ResearchTopic整句刪掉

% 中英文名稱請看學校網站: https://aa.nycu.edu.tw/reg/統計資訊/
```


#### 口試後才有的文件
* 口試結束後, 會有一些文件(3&5)需要口委們簽名, 最後上傳到圖書館要加入的東西. 論文初稿不需要. (我當年畢業不需要4 XD)
* 口試結束後, 會有一些文件(3&5)需要口委們簽名, 最後上傳到圖書館需要加這些東西. 論文初稿不需要. (我當年畢業不需要4 XD)
```
% 3. 論文電子檔著作權授權書: auth.pdf
%\includepdf[pages={1},pagecommand={\thispagestyle{empty}}]{auth.pdf}


@@ 80,7 126,10 @@ https://www.overleaf.com/latex/templates/nycu-thesis-template/jgcmcnchmbrc
```

#### 參考文獻
* 參考文獻寫在另一個檔案: ref.bib. 
* 參考文獻寫在另一個檔案: ref.bib.
* Ref有很多種風格寫法, 本篇論文是採用bibliographystyle\{IEEEtran\}
* overleaf上有其他style語法, 可以參考: https://www.overleaf.com/learn/latex/Bibtex\_bibliography\_styles

```
\iftoggle{toc-use-cn} % 使用中文
{\addcontentsline{toc}{chapter}{參考文獻}


@@ 101,4 150,5 @@ https://www.overleaf.com/latex/templates/nycu-thesis-template/jgcmcnchmbrc
* 2023.11: 竟然有人發現編排順序跟學校的格式不一樣!! (致謝應該要往前挪一個) 之前都沒人注意到 XDD
* 2023.11: 竟然有人寄信詢問碩論格式的事!! (原來有其他人會用, 覺得感動XD) 因為原本是針對英文論文去整理, 後來弄出中文目錄了. 可是回頭來看又覺得中英混雜很奇怪, 就改成 純英文目錄 & 純中文目錄 了!! 目前預設是英文目錄, 把開頭的某個註解拿掉就變成中文目錄. 
* 2023.11: 調整一下排版, 看起來比較美觀(!?)
* 2023.11: 再多補充一些說明還有使用心得(?) 剛剛發現中文的Figure與Table忘了改成中文, 也一併修正.
\ No newline at end of file
* 2023.11: 再多補充一些說明還有使用心得(?) 剛剛發現中文的Figure與Table忘了改成中文, 也一併修正.
* 2023.12: 大幅度更新(!?) 直接整合碩博士的寫法, 還有把系所的資訊拉到主頁當變數, 也考慮到有共同指導教授的情境.
\ No newline at end of file

R Sections/Acknowledgement.tex => Sections/0.1.Acknowledgement.tex +0 -0
R Sections/Abstract_chinese.tex => Sections/0.2.Abstract_chinese.tex +7 -5
@@ 7,13 7,15 @@
    
    \begin{singlespace}    

    	學生      :\studentCnName{}  \hspace{2.5cm}  指導教授  :\advisorCnName \hspace{0.1cm} 博士 \\
         [0.5cm]

    學生:\studentCnName  \hspace{2.5cm}  指導教授:\advisorCnName \hspace{0.1cm} 博士 \\
    \ifdefined\advisorCnNameB % 如果有共同指導教授
    \hspace{9.6cm}  \advisorCnNameB ~ 博士 \\
    \fi
    \end{singlespace}
    

    國立陽明交通大學網路工程研究所碩士班 \\[0.5cm]
    \vspace{0.5cm}

    國立陽明交通大學\ \DepartInstitCnName\ \iftoggle{iamphd}{博士班}{碩士班} \\[0.5cm]
    \textbf{摘~~~~~~~~要} \\[0.5cm]

  \end{center}

R Sections/Abstract.tex => Sections/0.3.Abstract.tex +27 -21
@@ 1,26 1,33 @@
 \begin{center}
  	\large
  	\begin{singlespace}
  		\textbf{\englishTitle{}} \\[0.5cm]
  	\end{singlespace}
  	
  	\begin{singlespace}
\begin{center}
    \large
    
    \begin{singlespace}
        \textbf{\englishTitle{}} \\[0.5cm]
    \end{singlespace}
    
    \begin{singlespace}
        Student : \studentEnName{}  \hspace{1.0cm} 
        % 兩個指導教授要寫 Advisors
        \ifdefined\advisorCnNameB
            Advisors: Dr.\, \advisorEnName \\
            \hspace{6.6cm} Dr.\, \advisorEnNameB  \\
        \else
            Advisor: Dr.\, \advisorEnName \\
        \fi
    \end{singlespace}
    
    \vspace{0.5cm}
    \begin{singlespace}
        \DepartInstitEnName\\
        National Yang Ming Chiao Tung University\\[0.5cm]
    \end{singlespace}
    
    \textbf{Abstract} \\[0.5cm]

  			Student : \studentEnName{}  \hspace{1.0cm} Advisor  : Dr.\, \advisorEnName \\
  			[0.5cm]
\end{center}

  	\end{singlespace}
  	
  	\begin{singlespace}
  		Institute of Network Engineering\\
  		National Yang Ming Chiao Tung University\\[0.5cm]
  	\end{singlespace}
  	\textbf{Abstract} \\[0.5cm]
  	
  \end{center}
  \normalsize 
\normalsize 
  
%  \hspace{0.25cm}
Write your abstract here. Through computer vision technologies, ...




@@ 28,4 35,3 @@ Write your abstract here. Through computer vision technologies, ...

% 5-7 Keywords (English) 
\textbf{Keywords: English, keywords, five to seven, computer vision, IoT.} 
  

D covers/front_phd.tex => covers/front_phd.tex +0 -30
@@ 1,30 0,0 @@
\begin{titlepage}

  \begin{center}
    \vspace{0.6cm}
    \fontsize{18}{22}\selectfont{國立陽明交通大學} \\
    \fontsize{18}{22}\selectfont{網路工程研究所} \\  
    \fontsize{18}{22}\selectfont{博士論文}\\ 

    \vspace{1cm}
    
\fontsize{14}{17}\selectfont{Department of  xx} \\
\fontsize{16}{19}\selectfont{National Yang Ming Chiao Tung University} \\ 
\fontsize{16}{19}\selectfont{Doctoral Dissertation} \\ 

    \vspace{3.1cm}  
    \fontsize{18}{22}\selectfont \chineseTitle \\
    \fontsize{18}{22}\selectfont \englishTitle \\
    \vspace{3.1cm}
        
    \fontsize{18}{22}\selectfont 研究生: {\studentCnName}  (\studentEnNameA) \\
    \fontsize{18}{22}\selectfont 指導教授: {\advisorCnName} (\advisorEnNameA) \\
    
    \vspace{\fill}
    
    \fontsize{18}{22}\selectfont \ThesisDateTW \\
    \fontsize{18}{22}\selectfont \ThesisDate
    
  \end{center}

\end{titlepage}
\ No newline at end of file

R covers/front.tex => covers/front_var.tex +13 -7
@@ 3,22 3,28 @@
  \begin{center}
    \vspace{0.6cm}
    \fontsize{18}{22}\selectfont{國立陽明交通大學} \\
    \fontsize{18}{22}\selectfont{網路工程研究所} \\  
    \fontsize{18}{22}\selectfont{碩士論文}\\ 
    \fontsize{18}{22}\selectfont{\DepartInstitCnName} \\  
    \fontsize{18}{22}\selectfont{\iftoggle{iamphd}{博士論文}{碩士論文}}\\ 

    \vspace{1cm}
    
\fontsize{14}{17}\selectfont{Department of  xx} \\
\fontsize{14}{17}\selectfont{\DepartInstitEnName} \\
\fontsize{16}{19}\selectfont{National Yang Ming Chiao Tung University} \\ 
\fontsize{16}{19}\selectfont{Master Thesis} \\ 
\fontsize{16}{19}\selectfont{\iftoggle{iamphd}{Doctoral Dissertation}{Master Thesis}} \\ 

    \vspace{3.1cm}  
    \fontsize{18}{22}\selectfont \chineseTitle \\
    \fontsize{18}{22}\selectfont \englishTitle \\
    \vspace{3.1cm}
        
    \fontsize{18}{22}\selectfont 研究生: {\studentCnName}  (\studentEnNameA) \\
    \fontsize{18}{22}\selectfont 指導教授: {\advisorCnName} (\advisorEnNameA) \\

    \begin{tabular}{@{\hspace{1em}} r l}
    研\ \ 究\ \ 生: & {\studentCnName}  (\studentEnNameA)  \\
    指導教授: & {\advisorCnName} (\advisorEnNamex)  \\
    \ifdefined\advisorCnNameB % 如果有共同指導教授
      & {\advisorCnNameB} (\advisorEnNameBx)
    \fi
   
    \end{tabular}
    
    \vspace{\fill}
    

D covers/inside_phd.tex => covers/inside_phd.tex +0 -58
@@ 1,58 0,0 @@
% 書名頁起至最後一頁皆須加入浮水印
\AddToShipoutPicture*{
    \put(-30,0){
        \parbox[b][\paperheight]{\paperwidth}{%
            \vfill
            \centering
            {\transparent{0.2}\includegraphics[scale=0.6]{covers/logo.png}}%
            \vfill
        }
    }
}

\begin{titlepage}
  \begin{center}
    \LARGE \chineseTitle \\
    \LARGE \englishTitle \\
  
    \vspace{1.5cm}
  
    \fontsize{14}{14}\selectfont{
    \begin{tabular}{r l c r l}
    研\ \ 究\ \ 生: & \studentCnName & \hspace{1.5cm} & Student: & \studentEnName \\
    指導教授: & \advisorCnName ~ 博士 & \hspace{1.5cm} & Advisor: & Dr. \advisorEnName \\
    \end{tabular}
    }
    
    \vspace{1.5cm}

    \fontsize{14}{17}\selectfont{國立陽明交通大學} \\
    \fontsize{14}{17}\selectfont{網路工程研究所} \\  
    \fontsize{14}{17}\selectfont{博士論文}\\     
    
    \vspace{2cm}

    \fontsize{14}{14}\selectfont{
    A Dissertation \\
    Submitted to Institute of Computer Science and Engineering \\
    College of Computer Science \\
    National Yang Ming Chiao Tung University \\
    in partial Fulfillment of the Requirements \\
	for the Degree of \\
    Doctor of Philosoph \\
	in  \\
	Computer Science \\
    }
    
    \vspace{\fill}

    \ThesisDate \\
    Taiwan, Republic of China \\
    ~ \\

    \fontsize{18}{22}\selectfont  \ThesisDateTW


  \end{center}
\end{titlepage}


R covers/inside.tex => covers/inside_var.tex +18 -12
@@ 19,29 19,35 @@
  
    \fontsize{14}{14}\selectfont{
    \begin{tabular}{r l c r l}
    研\ \ 究\ \ 生: & \studentCnName & \hspace{1.5cm} & Student: & \studentEnName \\
    指導教授: & \advisorCnName ~ 博士 & \hspace{1.5cm} & Advisor: & Dr. \advisorEnName \\
    研\ \ 究\ \ 生: & \studentCnName & \hspace{0.6cm} & Student: & \studentEnName \\
    指導教授: & \advisorCnName ~ 博士 & \hspace{0.6cm} & Advisor: & Dr. \advisorEnName \\
    \ifdefined\advisorCnNameB % 如果有共同指導教授
      & \advisorCnNameB ~ 博士 & & & Dr. \advisorEnNameB
    \fi
    \end{tabular}
    }
    
    \vspace{1.5cm}

    \fontsize{14}{17}\selectfont{國立陽明交通大學} \\
    \fontsize{14}{17}\selectfont{網路工程研究所} \\  
    \fontsize{14}{17}\selectfont{碩士論文}\\     
    
    \fontsize{14}{17}\selectfont{國立陽明交通大學} ~\\
    \fontsize{14}{17}\selectfont{\DepartInstitCnName} ~\\  
    \fontsize{14}{17}\selectfont{\iftoggle{iamphd}{博士論文}{碩士論文}} ~\\     



    \vspace{2cm}

    \fontsize{14}{14}\selectfont{
    A Thesis \\
    Submitted to Institute of Computer Science and Engineering \\
    College of Computer Science \\
    A \iftoggle{iamphd}{Dissertation}{Thesis} ~\\
    Submitted to \DepartInstitEnName \\
    \CollegeEnName \\
    National Yang Ming Chiao Tung University \\
    in partial Fulfillment of the Requirements \\
    for the Degree of \\
    Master of Science \\
    in  \\
    Computer Science \\
    \DegreeName \\
    \ifdefined\ResearchTopic
      in \\ \ResearchTopic
    \fi
    }
    
    \vspace{\fill}

M covers/load_env.tex => covers/load_env.tex +2 -1
@@ 113,4 113,5 @@ Style2*=\tiny$\blacksquare$ ,Style3*=$\circ$ ,Style4*=-- )
\usepackage{zhnumber} % 轉換中文數字
\usepackage{titletoc, CJKnumb}
\usepackage{etoolbox}
\newtoggle{toc-use-cn}
\ No newline at end of file
\newtoggle{toc-use-cn}
\newtoggle{iamphd}

A covers/學校格式資料/碩士論文格式中文.pdf => covers/學校格式資料/碩士論文格式中文.pdf +0 -0
R paper.tex => main.tex +84 -20
@@ 8,42 8,100 @@
% 要使用中文目錄可把下面的註解拿掉, 當\toggletrue{toc-use-cn}啟用才會使用中文目錄, 預設使用英文目錄
%\toggletrue{toc-use-cn}



% --------------------------------------------
% 在這邊寫自己的資料

% 論文名稱
\newcommand{\chineseTitle}{中文論文名字}
\newcommand{\englishTitle}{English Title}

% 自己的名字
\newcommand{\studentCnName}{學生名字}
\newcommand{\studentEnName}{XXXX Wu} % 書名頁
\newcommand{\studentEnNameA}{Wu, XXXX} % 封面用
% 英文名字有兩種寫法, 一個是姓在後, 一個是放前面. 

\newcommand{\advisorCnName}{指導教授}
\newcommand{\advisorEnName}{OOOO Tseng} % 書名頁
\newcommand{\advisorEnNameA}{Tseng, OOOO} % 封面用
\newcommand{\ThesisDate}{August 2022} % 碩論的日期
\newcommand{\ThesisDateTW}{中華民國~ 一一一年八月}
% 教授的名字
\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}

% [書名頁] 各學院、系所、學位中文、英文名稱: 
\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, 不過這個有很多寫法, 要記得查學校的資料.
\newcommand{\ResearchTopic}{Computer Science} % 研究領域, 請看下方[說明2]

% [說明1]
% 這邊需要填寫 XX系 or OO所 的名稱
% 如果你的單位是系所合一, 就用 Department. 如: 土木系碩士班請用 Department
% 只有所的話, 就用Institute. 如: 電信所請用Institute


% [說明2]
% 書名頁的最後會有 in OOOO 的內容. 這個目前找不到通用性的寫法. 
% 大家就自行找前人的畢業論文, 看同系所的人是怎麼寫, 就跟他們寫一樣的吧.
% 不過有些系所不需要寫這個東西, ex: 教育所. 不需要的話就把\ResearchTopic整句刪掉

% 中英文名稱請看學校網站: https://aa.nycu.edu.tw/reg/統計資訊/
% --------------------------------------------


% --------------------------------------------
% --------------------------------------------
% 填寫範例-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} 
% --------------------------------------------
% --------------------------------------------



\begin{document}
\begin{CJK*}{UTF8}{bkai}


% =============================================================
% 封面的設定, 像是日期之類的 settings for cover 
\newgeometry{top=3cm,bottom=3cm,left=3cm,right=3cm}

% 1. 第一頁的封面, 記得修改系所
\input{covers/front.tex}        % 碩士論文的封面
\input{covers/front_phd.tex}    % 博士論文版的封面 博士論文版的封面
\input{covers/front_var.tex}        % 論文的封面

% 2. 第二頁的書名頁, 記得修改系所, 日期
% 目前的浮水印剛好可以把校名&相關資訊包在裡面, 如果論文名稱太長的話, 換行之後的外觀就沒那麼漂亮XD 有需要的話可以自行調成inside裡面的字體大小. 
% 目前的浮水印剛好可以把校名&相關資訊包在裡面
% 如果論文名稱太長的話, 換行之後的外觀就沒那麼漂亮XD 有需要的話可以自行調成inside裡面的字體大小. 
% 目前是\LARGE, 可以再小一點: \Large, 再小一點: \large
\input{covers/inside.tex}       % 碩士論文的書名頁
\input{covers/inside_phd.tex}   % 博士論文版的書名頁 博士論文版的書名頁
\input{covers/inside_var.tex}       % 論文的書名頁


\restoregeometry
% =============================================================


@@ 92,13 150,13 @@
\titlecontents{subsection}[3em]{}{\thecontentslabel \hspace{1em}}{}{\titlerule*{.}\contentspage}[\addvspace{0.5em}]

% 6. 致謝 Acknowledgement
\addcontentsline{toc}{chapter}{誌\,\,\,\,\,謝} \input{Sections/Acknowledgement}\newpage
\addcontentsline{toc}{chapter}{誌\,\,\,\,\,謝} \input{Sections/0.1.Acknowledgement}\newpage

% 7 中文摘要 chinese abstract
\addcontentsline{toc}{chapter}{中文摘要} \input{Sections/Abstract_chinese} \newpage
\addcontentsline{toc}{chapter}{中文摘要} \input{Sections/0.2.Abstract_chinese} \newpage

% 8. 英文摘要
\addcontentsline{toc}{chapter}{英文摘要} \input{Sections/Abstract} \newpage
\addcontentsline{toc}{chapter}{英文摘要} \input{Sections/0.3.Abstract} \newpage

% 9. 目錄 中文版
\addcontentsline{toc}{chapter}{目錄} \tableofcontents \newpage


@@ 132,13 190,13 @@
\titlecontents{subsection}[3em]{}{\thecontentslabel \hspace{1em}}{}{\titlerule*{.}\contentspage}[\addvspace{0.5em}]

% 6. 致謝 Acknowledgement
\addcontentsline{toc}{chapter}{Acknowledgement} \input{Sections/Acknowledgement}\newpage
\addcontentsline{toc}{chapter}{Acknowledgement} \input{Sections/0.1.Acknowledgement}\newpage

% 7 中文摘要 chinese abstract
\addcontentsline{toc}{chapter}{Chinese Abstract} \input{Sections/Abstract_chinese} \newpage
\addcontentsline{toc}{chapter}{Chinese Abstract} \input{Sections/0.2.Abstract_chinese} \newpage

% 8. english abstract
\addcontentsline{toc}{chapter}{English Abstract} \input{Sections/Abstract} \newpage
\addcontentsline{toc}{chapter}{English Abstract} \input{Sections/0.3.Abstract} \newpage

% 9. 目錄 English version
\addcontentsline{toc}{chapter}{Contents} \tableofcontents \newpage


@@ 176,7 234,6 @@

% =========================================================================
% 參考文獻的檔案 Reference file: ref.bib
% ref的寫法可以參考這邊: https://hackmd.io/Bc1-FIIISka6DW15sPprAw
\ClearShipoutPicture % 把ref的浮水印關掉

\iftoggle{toc-use-cn} % 使用中文


@@ 191,6 248,13 @@
}
% =========================================================================

% NYCU參考資料:
% 臺灣博碩士論文知識加值系統 https://ndltd.ncl.edu.tw/
% 學位論文編寫事項 https://www.lib.nycu.edu.tw/custom_label?menu=64&lid=6
% 各學院、系所學位中英文名稱 https://aa.nycu.edu.tw/reg/統計資訊/
% 圖書館FB: https://www.facebook.com/NYCULIB



\end{CJK*}
\balance