當在編輯目錄時
要讓本來是英文的目錄標題變成中文
只需重新命名就好了

\renewcommand\contentsname{目錄}
\renewcommand\listfigurename{圖目錄}
\renewcommand\listtablename{表目錄}

LaTex 預設生成的目錄會長這樣
1 簡介
  1.1 研究背景
  1.2 研究動機

為了要符合中文樣式
將 "1 簡介" 改成 "第一章 簡介"
可以這樣改寫

%使用 titletoc 這一個 package \usepackage{titletoc}
\titlecontents{chapter}
[0em]
{}
{第\CJKnumber{\thecontentslabel}章~~}
{}{\titlerule*{.}\contentspage}
\titlecontents{section}
[4em]
{}
{\contentslabel{2em}}
{}{\titlerule*{.} \contentspage}
\titlecontents{subsection}
[8em]
{}
{\contentslabel{3em}}
{}{\titlerule*{.} \contentspage}

此外一般我們中文的圖、表目錄
都會習慣寫成
圖1.1
表1.1

而 LaTex 預設是沒有那些圖、表的文字,只有顯示數字
因此必須要修改一下

\newcommand{\loflabel}{圖}
\newcommand{\lotlabel}{表}

在圖目錄的地方插入這二行

\renewcommand{\numberline}[1]{\loflabel~#1\hspace*{1em}}
\listoffigures

在表目錄的地方插入這二行

\renewcommand{\numberline}[1]{\lotlabel~#1\hspace*{1em}}
\listoftables
arrow
arrow
    全站熱搜

    維護純潔思想組 發表在 痞客邦 留言(0) 人氣()