% 如果需要更新, 請email至: wufish@gmail.com
% 也可以到github留言: https://github.com/coldwufish/NYCU-thesis-template
% 載入會用到的套件, 通常不需要修改這邊的資料
\input{covers/load_env.tex}
% 為了看起來比較協調, 目錄的語言改為全部英文 or 全部中文, 中英混雜有點奇怪.
% 要使用中文目錄可把下面的註解拿掉, 當\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{\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, 不過這個有很多寫法, 要記得查學校的資料.
\newcommand{\ResearchTopic}{Computer Science} % 研究領域, 請看下方[說明2]
% [說明1]
% 這邊需要填寫 XX系 or OO所 的名稱
% 如果你的單位是系所合一, 就用 Department. 如: 土木系碩士班請用 Department
% 只有所的話, 就用Institute. 如: 電信所請用Institute
% [說明2]
% 書名頁的最後會有 in OOOO 的內容. 這個目前找不到通用性的寫法.
% 大家就自行找前人的畢業論文, 看同系所的人是怎麼寫, 就跟他們寫一樣的吧.
% 不過有些系所不需要寫這個東西, ex: 教育所.
% 不需要的話就把\ResearchTopic整句刪掉
% --------------------------------------------
% --------------------------------------------
% --------------------------------------------
% 填寫範例-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}
% ====================================================
% 封面的設定, 像是日期之類的 settings for cover
\newgeometry{top=3cm,bottom=3cm,left=3cm,right=3cm}
% 1. 第一頁的封面, 系所資訊使用變數代入
\input{covers/front_var.tex} % 論文的封面
% 2. 第二頁的書名頁, 系所&日期使用變數代入
% 目前的浮水印剛好可以把校名&相關資訊包在裡面
\input{covers/inside_var.tex} % 論文的書名頁
\restoregeometry
% ====================================================
% 書名頁起至最後一頁皆須加入浮水印
\AddToShipoutPicture{
\put(-30,0){
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
{\transparent{0.2}\includegraphics[scale=0.6]{covers/logo.png}}%
\vfill
}
}
}
% ====================================================
% 口試結束後, 會有一些文件(3&5)需要口委們簽名
% 這邊的東西是最後上傳到圖書館要加入的東西
% (我當年畢業不需要4 XD)
% ps. 圖書館有說: 授權書&審定書不用上傳,但要裝訂於紙本論文中。
% 3. 論文電子檔著作權授權書: auth.pdf
%\includepdf[pages={1},pagecommand={\thispagestyle{empty}}]{auth.pdf}
% 4. 博士論文指導教授推薦書(碩士論文免附) 由各所自定,可有可無。: phd_recommend.pdf
%\includepdf[pages={1},pagecommand={\thispagestyle{empty}}]{phd_recommend.pdf}
% 5. 學位論文審定同意書(審定書): approval_ch.pdf
%\includepdf[pages={1},pagecommand={\thispagestyle{empty}}]{approval_ch.pdf}
\frontmatter
\pagenumbering{roman} % 小寫羅馬數字頁碼
{\fontfamily{ptm}\selectfont
% 中英文目錄設定放在covers/toc_var.tex 裡面, 主頁看起來比較清爽
\input{covers/toc_var.tex}
\mainmatter
\pagenumbering{arabic} % 阿拉伯數字頁碼
% ====================================================
% 12. 論文正文, 可以每個章節一個.tex檔案
% put your statements in the following
\input{Sections/1.Introduction} \newpage
\input{Sections/2.Relatedwork} \newpage
\input{Sections/3.Architecture} \newpage
\input{Sections/4.Methodology} \newpage
\input{Sections/5.Evaluation} \newpage
\input{Sections/6.Conclusion} \newpage
% ====================================================
% 13. 參考文獻 Reference (檔案名稱 ref.bib)
\ClearShipoutPicture % 把ref的浮水印關掉
\iftoggle{toc-use-cn} % 使用中文
{\addcontentsline{toc}{chapter}{參考文獻}
\renewcommand{\bibname}{參考文獻} }
{\addcontentsline{toc}{chapter}{References}
\renewcommand{\bibname}{References}
}
\bibliographystyle{IEEEtran}
\bibliography{ref}
}
% 14. 附錄 Appendix
% =========================================
% [113年2月19日後上傳圖書館博碩士論文系統者適用]
% 15. 學位論文發表形式確認書【詳附件 5】
% 16. 著作彙編之學位論文資訊及彙編學術著作之共同作者貢獻聲明書(非著作彙
% 可以去這個連結看15與16: https://aa.nycu.edu.tw/userfiles/aach/files/20240125111443441.pdf
\end{CJK*}
\balance
\end{document}