Re: endnotesで作った文末脚注を目次に表示するには

名前: トニイ
日時: 2006-01-11 07:53:40
IPアドレス: 61.198.86.*

>>40572 トノさん,補足ありがとうございます。 仰るように,後注が 2ページ以上に及んだ場合,目次で「脚注」のページ番号が 最終ページになることに注意しなければいけないですね。 これを回避するには \theendnotes の定義内で \addcontentsline を追加すれば 良いでしょう。 \documentclass[fleqn,12pt,a4paper]{jsarticle} %%endnotes の設定 \usepackage{endnotes} \let\footnote=\endnote \renewcommand{\enotesize}{\normalsize} \renewcommand{\notesname}{脚注} \makeatletter %% \theendnotes 内で「Notes」を表示している部分 \def\enoteheading{\section*{\notesname \@mkboth{\MakeUppercase{\notesname}}{\MakeUppercase{\notesname}}}% \addcontentsline{toc}{section}{\notesname}%% これを追加 \mbox{}\par\vskip-\baselineskip} \makeatother \begin{document} %目次の出力 \tableofcontents %内容 \section{section1} aa\footnote{脚注1} \section{section2} aa\footnote{脚注2} %脚注 \begingroup \parindent 30pt \parskip 2ex \def\ennotesize{\normalsize} \theendnotes \endgroup \end{document}

この書き込みへの返事:

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