Re: 目次自体にページ番号を付けないには?

名前: トニイ@FTEX
日時: 2001-12-20 17:18:42
IPアドレス: 61.198.83.*

>>4607 「目次」が 1ページで,おさまるのなら \tableofcontents\thispagestyle{empty} とすれば良いでしょう。「目次」が複数ページにまたがるようなら 先に \pagestyle{empty} としておけば 目次の 2ページ以降にも ページ番号は出なくなります。ただし 目次の後で \pagestyle{plain} の ようにページ番号が出るように,元に戻してあげる必要があります。 % pLaTeX2e \documentclass[12pt]{jreport} \begin{document} \pagestyle{empty}% ページ番号を出さないようにする \tableofcontents\thispagestyle{empty}% 「目次」のページ % \pagestyle{plain}% ページ番号を出すようにする \chapter{あいうえお} 最初のページ \newpage 次のぺーじ \chapter{さしすせそ} そのまた次のページ \end{document} ただし,この方法よりも \pagestyle{empty} とした時に \pagestyle{jpl@in} が empty になるように定義しなおすのが 良いのかもしれません。 % pLaTeX2e \documentclass[12pt]{jreport} \makeatletter \def\ps@empty{% \let\@mkboth\@gobbletwo \let\ps@jpl@in\ps@empty \let\@oddhead\@empty\let\@oddfoot\@empty \let\@evenhead\@empty\let\@evenfoot\@empty} \makeatother \pagestyle{empty} \begin{document} \tableofcontents \clearpage \pagestyle{plain} \chapter{あいうえお} 最初のページ \newpage 次のぺーじ \chapter{さしすせそ} そのまた次のページ \end{document}

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)