Useing Latex write thesis
===
----
## PPT 簡報
1. 公式、演算法自己打,**避免**論文剪貼圖。
2. 英文字母大小寫要正確。
3. 英文與數字符號間要有空格。
----
## Windows 安裝 Latex
安裝 MiKTeX (去下列網址下載) http://miktex.org/download
<!--  -->
安裝 Texmaker(去下列網址下載)
https://www.xm1math.net/texmaker
安裝完後點開桌面上的 Texmaker!
Texmaker的設定
打開Texmaker的畫面後,點選項→設定 Texmaker
----
<!-- ## Mac 安裝 Latex -->
----
## Latex 相關
### 主要 Latex 格式語法參考
https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings
#### 演算法宣告

```
\begin{algorithm}[H]
\ContinuedFloat
\caption{ UFS algorithm (Cont'd)}
\label{alg:UFS}
\begin{algorithmic}[1]
\algrestore{UFS}
\If{RB $l$ is not assigned \textbf{and} \label{line:op9}
\Statex \qquad\qquad \big[(RB $l$ will not degrade the MCS level) \textbf{or} ($\mathcal{A}(t) \geq \mathcal{A}_T$)\big]}
\State $S=S\cup \lbrace l \rbrace$.
\State $l\leftarrow l-1$.
\EndIf \label{line:op10}
\If{no RB is inclued in $S$ in this turn} \label{line:op11}
\State \textbf{break while}
\EndIf \label{line:op12}
\EndWhile
\State Assign RBs in $S$ to UE $i$. \label{line:op13}
\State Set UE $i$ to the idle mode.
\State $R=R-S$
\State $P=P-\lbrace P_i(t) \rbrace$ \label{line:op14}
\EndWhile
\end{algorithmic}
\end{algorithm}
```
#### 表格參數宣告
[Latex 表格參數 use case](https://www.overleaf.com/learn/latex/Tables)

```
\begin{table}[H]
\centering
\caption{長期演進調變編碼技術指標對應傳輸區塊大小指標表。}
\vskip 10pt
\label{tab:TBS}
\begin{tabular}{|c|c|c|}
\hline
\begin{tabular}[c]{@{}c@{}}Modulation Coding Scheme \\ Index\end{tabular} & Modulation & \begin{tabular}[c]{@{}c@{}}Transport Block Size \\ Index\end{tabular} \\ \hline
0$\sim$8 & QPSK & 0$\sim$8 \\ \hline
9 & QPSK & 9 \\ \hline
10 & 16QAM & 9 \\ \hline
11$\sim$16 & 16QAM & 10$\sim$15 \\ \hline
17 & 64QAM & 15 \\ \hline
18$\sim$28 & 64QAM & 16$\sim$26 \\ \hline
29 & QPSK & \multirow{3}{*}{Reserved} \\ \cline{1-2}
30 & 16QAM & \\ \cline{1-2}
31 & 64QAM & \\ \hline
\end{tabular}
\end{table}
```
[Latex Algorithm 宣告 use case](https://en.wikibooks.org/wiki/LaTeX/Algorithms)
#### Latex 顯示空格
| a \quad b | $a \quad b$ | 一個字元的寬度 |
[參考](https://blog.csdn.net/bennyfun79/article/details/15500575)
Latex 常用快捷鍵:
Ctrl+U 解除註解
Ctrl+T 註解
----
### Latex 小蟲子
#### 圖片中文字顯示異常的問題

Solution:

圖片宣告前加上文字
#### Latex 產生 pdf 的小問題
1. LaTex 編譯時記得把上次編譯所產生的 pdf 先關掉才能正常產生本次 LaTex 編譯的內容。
2. 加入 Citation 後要需要重新編譯 BibTex 再編譯 XeLatex ,文章中對應的 Citation 才會出現。
3. LaTex 新增圖片或文字後建議編譯兩次,所產生的 pdf 比較不容易發生錯誤。
----
### 碩士論文圖表製作方式
實驗環境圖、流程圖 => Visio 儲存成 \*.png
[download Visio](https://drive.google.com/file/d/1GB_TR9vfm1BKA9rxeTzuiH-C9HhFJtoa/view?usp=sharing)
----
### Matlab 畫圖
論文結果圖需用 Matlab 做圖,結果圖須存成 \*.eps
[Matlab 範例程式](https://hackmd.io/@MQEgLpqQQE-nS_gMok6nBw/HkGbDVwbU)
----
### Cite 格式
碩士論文加入參考文獻的引入方式
[Google Scholar](https://scholar.google.com.tw/)
以搜尋 "SDN survey" 為例,將搜尋結果的 Citation 放入碩士論文中的引用文獻
針對要引入參考文獻的文章點擊\"

在引用的地方點選 BibTeX

將連結後的資料貼入 Bib 中

從 Google Scholar 下載下來的 Citation 格式可能與老師要求的不同,實際 Citation Format 以 IEEE 中的格式為主
[IEEE citation format](https://drive.google.com/file/d/1tRTD6rp0x2gr6vrxiao8AU23H6HDKt2d/view?usp=sharing)
要求得 Citation Format
```
@inproceedings{alsunaidi2019survey,
title={A survey of consensus algorithms for Blockchain technology},
author={Alsunaidi, Shikah J and Alhaidari, Fahd A},
booktitle={Proc. International Conference on Computer and Information Sciences (ICCIS)},
pages={1--6},
year={2019},
month={May.}
}
```
在 booktitle 中去掉 Proceeding 改成 Proc. 把年份從期刊名稱中刪除。
```
@article{liu2005proactive,
title={A proactive approach towards always-on availability in broadband cable networks},
author={Liu, Yun and Ma, Yue and Han, James J and Levendel, Haim and Trivedi, Kishor S},
journal={Elsevier Computer Communications},
volume={28},
number={1},
pages={51--64},
year={2005},
month={Jan.}
}
```
期刊、研討會文章中有月份皆需要補上**縮寫的月份**時間
---
## 口試相關
### 口試前要準備文件
- [ ]口試時間[下載](https://drive.google.com/file/d/1b0sqC9Ymc2sCoOmR0GXryW1LtY7piopi/view?usp=sharing)
- [ ]委員邀請函[下載](https://drive.google.com/file/d/1SYimmg1ZBX7w-HFdRKYRBuFDTpySd6Pc/view?usp=sharing)
- [ ]口試委員推薦表[下載](https://drive.google.com/file/d/1Vr1DoCtLpfexJPCJJKNF-Q3bVSVpWcHz/view?usp=sharing)
### 口試準備文件
- [ ]評分表 * 口試委員人數
- [ ]推薦書
- [ ]審定書
上面三份文件在學生資訊系統中下載

- [ ]碩士論文初稿(裝訂版) * 口試委員人數
- [ ]碩士論文簡報(紙本) * 口試委員人數
### 口試準備食物
- [ ]果汁 410ml up (輝文\*2)
- [ ]會議便當
- [ ]咖啡 (輝文除外)
- [ ]蛋糕
- [ ]水果
- [ ]瓶裝白開水
- [ ]面紙
- [ ]原子筆
- [ ]濕紙巾
### 畢業門檻
- [ ]學術倫理
- [ ]多益考試550分以上 ($選修大學部英文4學分$或$參加暑期英文特訓班$)
## 最終版本碩論送印前確認事項
- [ ]書背
- [ ]浮水印
- [ ]審定書
- [ ]推薦書
- [ ]致謝(可省略)
### 離校流程
[離校流程](https://www.academic.ntust.edu.tw/files/11-1001-115.php?Lang=zh-tw) -> "離校手續單"
[電子版碩士論文上傳](http://etheses.lib.ntust.edu.tw/cgi-bin/gs32/gsweb.cgi/ccd=UHxiwN/thesislogin?)
你填寫的資料有:作者姓名(中文)、作者姓名(英文)、Email、學院名稱-系所名稱、論文名稱(中文)、論文名稱(英文)...
- [ ]注意填寫資料中會需要**口試委員**的**中英文姓名**。
- [ ]碩士論文上傳需去掉**浮水印**
碩士論文上完畢後等待圖書館審核,完成會寄信通知審核完畢,回到圖書館碩士論文上傳網站

下載**臺科圖書館碩士論文電子檔上網同意書**、**國家圖書館碩士論文電子檔上網同意書**
離校流程給老師簽名的文件有:
- [ ]離校手續單
- [ ]臺科圖書館碩士論文電子檔上網同意書
- [ ]國家圖書館碩士論文電子檔上網同意書
碩士論文 * 3 (系上、圖書館、老師)
<!-- ## 優秀學長姊聯絡方式 -->
<!-- [鄭丁元](https://www.facebook.com/profile.php?id=100002343512769) 限女
[李亭葦](https://www.facebook.com/weiwei.412) -->
----
## 碩論老師要求格式
### 英文摘要可能出現的問題



---
###### tags `master` `NTSUT`