ntust-thesis-latex-v1.8.1
Author
Hsiang-Jen Li
Last Updated
5 months ago
License
Creative Commons CC BY 4.0
Abstract
https://github.com/hsiangjenli/ntust-thesis-latex
% -- v1.8.1 ------------------------------------------------------------------------
\documentclass[12pt, a4paper]{ntust_report}
\usepackage{fontspec} % 加這個就可以設定字體
\usepackage{xeCJK} % 讓中英文字體分開設置
\setmainfont[Mapping=tex-text]{Times New Roman} % 設定主要字型,也就是英文字型
\setCJKmainfont{AR PL UKai TW} % 設定中文字型
\setCJKmonofont{AR PL UKai TW}
\XeTeXlinebreaklocale "zh" % 這兩行一定要加,中文才能自動換行
\XeTeXlinebreakskip = 0pt plus 1pt % 這兩行一定要加,中文才能自動換行
\input{env/common} % 基本的環境設定, 無需改變
% -- choose the language ----------------------------------------------------------
% \input{env/use_chinese} % 使用中文
\input{env/use_english} % 使用英文
% -- additional packages ----------------------------------------------------------
\usepackage{adjustbox}
\usepackage[hybrid]{markdown}
\usepackage{makecell}
\usepackage{indentfirst}
\usepackage{subfig}
\usepackage{tabularx}
\usepackage{amsfonts}
\usepackage{comment}
\usepackage{rotating}
\usepackage{booktabs,threeparttable}
\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
\usepackage{pdfpages}
\usepackage{bold-extra}
\usepackage[numbers]{natbib}
\usepackage[hidelinks]{hyperref}
\usepackage{silence} % Filter warnings
\WarningFilter{latexfont}{Font shape `TU/ARPLUKaiTW(0)/b/n' undefined}
\WarningFilter{latexfont}{Some font shapes were not available}
% -- document -----------------------------------------------------------------------
\begin{document}
\setkeys{Gin}{width=.5\linewidth}
\bibliographystyle{plainnat}
% -- front pages -----------------------------------------------------------------
\input{frontpages/ntust_frontpages.tex}
% -- main body -------------------------------------------------------------------
\input{sections/ch1_intro.tex}
\input{sections/ch2_related_work}
\input{sections/ch3_method}
\input{sections/ch4_experiment}
\input{sections/conclusion.tex}
% -- back pages ------------------------------------------------------------------
\input{backpages/ntust_backpages.tex}
\end{document}