2011-02-24から1日間の記事一覧

texの\tableofcontentsで表示させる階層の深さを変更する

tex

\tableofcontentsの部分で以下のようにすれば設定可能。 \setcounter{tocdepth}{n} \tableofcontents nの値によって、目次に表示される項目が以下のように設定される。 n 表示 0 \chapterのみ 1 \sectionまで 2 \subsectionまで 3 \subsubsectionまで