Home >[TeX] >[Index] >[\addcontentsline]

\addcontentsline

\addcontentsline{file}{type}{text}
filetypetextを出力
  • file
    • toc : 目次(table of contents)
    • lof : 図一覧(list of figures)
    • lot : 表一覧(list of tables)
  • type
    • toc : 利用しているクラスファイルに従い、chaptersectionsubsectionなど
    • lof : figure
    • lot : table
  • text: fileに入れたい文字

* (j)book.clsのとき、章のレベルで目次に”索引”を入れる。
  \addcontentsline{toc}{chapter}{索引}
節のレベルで目次に索引を入れる。
  \renewcommand{\indexname}{索引}
  \phantomsection
  \addcontentsline{toc}{section}{索引}
* ”問題”を節番号なしとして、”問題”を目次に追加、ヘッダに”問題”を入れる。
  \section*{問題}
  \markright{問題}
  \addcontentsline{toc}{section}{問題}
* 参考文献を目次に追加。
  \clearpage
  \addcontentsline{toc}{chapter}{\bibname}
  \phantomsection
  \bibliography{References} 
とします。

*     *
* book.tex * book2.tex
* ccaption03.tex * endnotes05.tex
* etc05.tex * memo025.tex

hyperref参照。
makeidx参照。
参照。


@

To the TeX Page
TeX

@

inserted by FC2 system