Re: \appendix

名前: あれれ
日時: 2004-10-03 22:46:08
IPアドレス: 219.18.76.*

>>31900 chapterを含むプリアンブル表記を列記します。 何かヒントはあるでしょうか? 1. \makeatletter \c@chapter\z@ \c@section\z@ \gdef\thechapter{\@Alph\c@chapter} \gdef\chaptername{\appendixname} \gdef\@chapapp{\appendixname} \makeatother 2. \def\@makeschapterhead#1{% {\parindent \z@ \raggedright \interlinepenalty\@M {\sffamily \bfseries \huge #1}\\% \rule{\textwidth}{1pt}\\% \vskip 40\p@ }% } 3. \renewenvironment{theindex} {\if@twocolumn \@restonecolfalse \else \@restonecoltrue \fi \columnseprule \z@ \columnsep 35\p@ \twocolumn[\@makeschapterhead{\indexname}]% \@mkboth{\indexname}% {\indexname}% \thispagestyle{plain}\parindent\z@ \parskip\z@ \@plus .3\p@\relax \let\item\@idxitem} {\if@restonecol\onecolumn\else\clearpage\fi} 4. \renewenvironment{thebibliography}[1] {\addcontentsline{toc}{chapter}{\bibname} \chapter*{\bibname \@mkboth{\bibname}{\bibname}}% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \sloppy \clubpenalty4000 \@clubpenalty \clubpenalty \widowpenalty4000% \sfcode`\.\@m} 5. \renewcommand\tableofcontents{% \if@twocolumn \@restonecoltrue\onecolumn \else \@restonecolfalse \fi \chapter*{\contentsname \@mkboth{% \contentsname}{\contentsname}}% \@starttoc{toc}% \if@restonecol\twocolumn\fi } 6. \usepackage{amsmath} \renewcommand{\theequation}{\arabic{chapter}} \numberwithin{equation}{chapter} \numberwithin{figure}{chapter} \numberwithin{theorem}{chapter} 7. \makeatletter %%% \subappendix の定義 \newcommand{\subappendix}{\par \setcounter{section}{0}% \renewcommand{\thesection}{\thechapter.\@Alph\c@section} % \renewcommand{\thesection}{\appendixname~\@Alph\c@section} } \makeatother 8. \renewcommand{\chaptermark}[1]{ \markboth{Chapter \thechapter\ \hspace{.1em} #1}{}} \renewcommand{\sectionmark}[1]{% \markright{\thesection\ #1}}

この書き込みへの返事:

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