Re: 章毎の付録

名前: トニイ@FTEX
日時: 2004-04-12 17:15:35
IPアドレス: 219.116.97.*

>>28036 >原因としてこの後に全体の付録を示すため\appendixが出てくるのですが、これとの >整合の問題はないでしょうか? 章の終わり毎の付録を \subappendix として新たに定義する案です。 % pLaTeX2e \documentclass{jreport} \makeatletter %%% \subappendix の定義 \newcommand{\subappendix}{\par \setcounter{section}{0}% \renewcommand{\thesection}{\thechapter.\@Alph\c@section} % \renewcommand{\thesection}{\appendixname~\@Alph\c@section} } %%% \@chapter に \thesection のリセット仕込む \def\@chapter[#1]#2{% \ifnum \c@secnumdepth >\m@ne \refstepcounter{chapter}% \renewcommand{\thesection}{\thechapter.\@arabic\c@section}%% 追加 \typeout{\@chapapp\space\thechapter\space\@chappos}% \addcontentsline{toc}{chapter}% {\protect\numberline{\@chapapp\thechapter\@chappos}#1}% \else \addcontentsline{toc}{chapter}{#1}% \fi \chaptermark{#1}% \addtocontents{lof}{\protect\addvspace{10\p@}}% \addtocontents{lot}{\protect\addvspace{10\p@}}% \@makechapterhead{#2}\@afterheading} \makeatother \begin{document} \chapter{はじめに} \section{まず} \section{なんとか} \subappendix \section{おまけ}% 付録 1.A \chapter{次に} \section{かんとか} \subappendix \section{えい}% 付録 2.A \section{やー}% 付録 2.B \chapter{終わり近くで} \section{なんちゃら} \subappendix \section{終わり}% 付録 3.A \appendix \chapter{最後に}% 付録 A \end{document}

この書き込みへの返事:

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