- 172 名前:名無しさん@お腹いっぱい。 mailto:sage [2010/06/13(日) 08:59:53 ]
- >>171
A1. tocdepthを指定 A2. \cleardoublepageの定義を書き変える %%% \documentclass{book} \usepackage{ifthen} %%% \setcounter{tocdepth}{0} %\setcounter{tocdepth}{1} %%% \let\cleardoublepage=\clearpage %%% \newcounter{test} \def\test#1{\chapter{C:#1} \setcounter{test}{0} \whiledo{\value{test}<3}{% aaa aaa aaa aaa aaa aaa aaa aaa aaa \stepcounter{test}}\par \setcounter{test}{0} \section{S:#1} \whiledo{\value{test}<70}{% aaa aaa aaa aaa aaa aaa aaa aaa aaa \stepcounter{test}}\par} \begin{document} \tableofcontents \test{FIRST} \test{SECOND} \test{THIRD} \end{document}
|
|