(See below for 中文解說)
This package consists of LaTeX classes for preparing grant proposals to National Science and Technology Council, Taiwan, that is:
- CM03
- CM302
which support typesetting in both Chinese and English and are compatible with pdfLaTeX and XeTeX.
Run the following command in a terminal (or use any TeX package manager) to install:
tlmger install nstc-proposal-
Run the following command in a terminal to build files and examples:
latex nstc-proposal.ins
-
Copy the generated
.clsfiles to a directory searchable by LaTeX. Hint. Run the following command to locate the local texmf directory:kpsewhich -var-value TEXMFLOCAL
Placing the generated files under any subdirectory of the directory shown above should work.
-
Compile tex files under
exampleby pdfLaTeX or XeTeX and see if the package has been installed properly.
See nstc-proposal.pdf.
nstc-proposal was written and is maintained by Liang-Ting Chen.
Please report any bug or feature request on GitHub (https://github.com/L-TChen/nstc-proposal).
The nstc-proposal class is distributed under the conditions of the LATEX Project Public License, either version 1.3c of this license or (at your option) any later version.
此套件提供準以下台灣國科會專題計劃申請書的文件格式:
- 表 CM03
- 表 CM302
並且支援中英混排,相容 pdfLaTeX 跟 XeTeX 編譯。
在終端機下執行以下命令安裝(或是用任何一個 TeX 的套件管理程式):
tlmger install nstc-proposal-
在終端機下執行以下命令生成檔案跟範例:
latex nstc-proposal.ins
-
把生成出來的
.cls檔案複製到 LaTeX 可以搜尋得到的目錄下。提示:把檔案放在kpsewhich -var-value TEXMFLOCAL下的任一子目錄應該就可以。TEXMFLOCAL路徑可用以下指令得到:kpsewhich -var-value TEXMFLOCAL
-
用 pdfLaTeX 或是 XeTeX 編譯
example目錄底下的檔案,看是否有安裝成功。
請參考 nstc-proposal.pdf。
文件格式繼承自 article 額外提供以下選項:
libertine: 英文字型改用 Linux Libertine(來自 libertine 套件)。kaiti(需用 XeTeX 編譯): 中文字型改用 macOS 內建的常州華文「楷體-繁」。
以下指令可產生 CM03 的章節名稱與說明:
\ProposalBackground: 研究計畫之背景\ProposalMethod: 研究方法、進行步驟及執行進度\ProposalPlan: 預期完成之工作項目及成果\ProposalIntegration: 整合型研究計畫說明
若是編輯軟體會根據 \section 判斷原始碼格式,支援程式碼摺疊或目錄之類的功能,則建議直接使用 \section 指令輸入章節名稱,最後加入 \vskip1em 保留足夠的留白。例如:
\section{研究計畫之背景}
請詳述本研究計畫所要探討或解決的問題、研究原創性、重要性、預期影響性及國內外有關本計畫之研究情況、重要參考文獻之評述等。如為連續性計畫應說明上年度研究進度。
\vskip1em\documentclass{nstc-cm03}
\usepackage{microtype}
\begin{document}
\ProposalBackground
\ProposalMethod
\ProposalPlan
\ProposalIntegration
\nocite{*}
\bibliographystyle{plain}
\bibliography{sample}
\end{document}以 LaTeX 或 XeTeX 編譯或加上選項 libertine 的四種結果如下
| LaTeX | XeTeX | |
|---|---|---|
| (預設無選項) | proposal.pdf | proposal-xetex.pdf |
libertine |
proposal-libertine.pdf | proposal-libertine-xetex.pdf |
若用格式 nstc-cm302 則會改為表 CM302 文獻目錄之格式:
- 文件標題改為「五、著作目錄⋯⋯」
- 隱藏 LaTeX 預設之引用章節名稱
- 取消 CM03 相關指令
\ProposalBackground、\ProposalMethod、\ProposalPlan、\ProposalIntegration避免誤用。
引用載入之 .bib 檔裡所有的論文,只需要用 \nocite{*} 即可。例如以下檔案:
\documentclass{nstc-cm302}
\usepackage[hidelinks]{hyperref}
\usepackage{doi}
\usepackage{microtype}
\begin{document}
\nocite{*}
\bibliographystyle{abbrv}
\bibliography{sample}
\end{document}便能產出此結果。
國科會規定頁面尺寸 A4,一倍行距1,字型大小 12 點,以及頁面邊界 2 公分,其他如字型並無特別規定。
文件格式除設定格式必要的套件外,另載入 amsmath 以及 amsthm 兩套件以及:
- 字型相關套件
- 用 LaTeX 編譯時額外載入
CJKutf8 - 用 XeTeX 編譯時額外載入
fontspec.unicode-math,xeCJK
- 用 LaTeX 編譯時額外載入
-
若用 XeTeX 編譯,字型選用順序如下:
- 標楷體(Windows 以及 macOS 13.2 以前內建)
- 標楷體-繁(macOS 13.3 以後內建)
- 文鼎 PL 中楷(來自
arphic-ttf套件)
Times 家族(如 Times New Roman)的 TeXGyre Termes(來自 newtx 套件)
本套件 nstc-proposal 是由陳亮廷所撰寫維護。
發現任何錯誤或是有任何需求,請回報到 GitHub 上的專案網站 https://github.com/L-TChen/nstc-proposal。
The nstc-proposal class is distributed under the conditions of the LATEX Project Public License, either version 1.3c of this license or (at your option) any later version.