看板 LaTeX 關於我們 聯絡資訊
※ 引述《chia1985 (chia)》之銘言: : \addcontentsline{toc}{章節名}{標題} : 裡面的"章節名"跟"標題"是什麼意思? 章節名 -- 要加入目錄的那段是什麼層級 chapter? section? 標題 -- 要加入目錄那段的名字 ex. Chapter ABC的ABC : 是這樣嗎?: : \addcontentsline{toc}{tableofcontents}{contents} \chapter*{Abstract} \addcontentsline{toc}{chapter}{Abstract} XYZ \listoftables \addcontentsline{toc}{chapter}{List of Tables} \tableofcontents : 另外請問\addcontentsline這個指令是要放在哪裡? : 是要放在 : \begin{document} 之後 : 之前還是\tableofcontents的前?後? 都可以,跟在要加入目錄的內容後面,見上 -- Nice to meld you. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.102.157
chia1985:thanks! 05/21 12:38