Skip to content

Commit

Permalink
Merge pull request #53 from yuhao-kuo/fix-list-FigureTable
Browse files Browse the repository at this point in the history
修補表目錄與圖目錄的編號規則
* fix list of table and list of figure problom
* add remark to list of table/figure and content
  • Loading branch information
yuhao-kuo authored Apr 21, 2022
2 parents 9e5d515 + 7068b91 commit ff908f2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Instance/contents.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

% 目錄
\ifthenelse{\boolean{thesiscontent}}{
\renewcommand{\contentsname}{目錄}
\renewcommand{\contentsname}{目錄} % 目錄頁標題顯示名稱
\clearpage
\phantomsection
\addchaptertocentry{\contentsname}
Expand All @@ -13,8 +13,10 @@

% 表目錄
\ifthenelse{\boolean{thesistable}}{
\renewcommand{\tablename}{表}
\renewcommand{\listtablename}{表目錄}
\newcommand{\lotlabel}{表} % 表目錄中編號前方的標頭字,如右方範例 --> <表> 1.2 範例表 ....
\renewcommand{\tablename}{\lotlabel} % 正文中表格說明標頭字,如右方範例 --> <表> 1.2: 範例表
\renewcommand{\listtablename}{表目錄} % 表目錄頁中標頭字
\renewcommand{\numberline}[1]{\lotlabel~#1\hspace*{2em}} % 2em 為表目錄頁數字與文字描述間隔,請依需求進行調整
\clearpage
\phantomsection
\addchaptertocentry{\listtablename}
Expand All @@ -24,8 +26,10 @@

% 圖目錄
\ifthenelse{\boolean{thesisfiguretable}}{
\renewcommand{\figurename}{圖}
\renewcommand{\listfigurename}{圖目錄}
\newcommand{\loflabel}{圖} % 圖目錄中編號前方的標頭字,如右方範例 --> 圖 1.2.3 範例圖 ....
\renewcommand{\figurename}{\loflabel} % 正文中圖片欄位標頭字,如右方範例 --> <圖> 1.2.3: 範例圖
\renewcommand{\listfigurename}{圖目錄} % 圖目錄頁中標頭字
\renewcommand{\numberline}[1]{\loflabel~#1\hspace*{2em}} % 2em 為圖目錄頁數字與文字描述間隔,請依需求進行調整
\clearpage
\phantomsection
\addchaptertocentry{\listfigurename}
Expand Down
Binary file modified build/main.pdf
Binary file not shown.
Binary file modified build/titlepage.pdf
Binary file not shown.

0 comments on commit ff908f2

Please sign in to comment.