Re: footnoteと\chapter*

名前: トニイ
日時: 2006-10-26 08:24:44
IPアドレス: 61.198.80.*

>>45665 具体的には次のようにします。 \documentclass[a4j,12pt]{jsbook} \makeatletter % \newif\if@chapstar%% 追加 % \def\@chapter[#1]#2{% \@chapstarfalse%% 追加 \ifnum \c@secnumdepth >\m@ne \if@mainmatter \refstepcounter{chapter}% \typeout{\@chapapp\thechapter\@chappos}% \addcontentsline{toc}{chapter}% {\protect\numberline{\@chapapp\thechapter\@chappos}#1}% \else\addcontentsline{toc}{chapter}{#1}\fi \else \addcontentsline{toc}{chapter}{#1}% \fi \chaptermark{#1}% \addtocontents{lof}{\protect\addvspace{10\p@}}% \addtocontents{lot}{\protect\addvspace{10\p@}}% \if@twocolumn \@topnewpage[\@makechapterhead{#2}]% \else \@makechapterhead{#2}% \@afterheading \fi} % \def\@schapter#1{% \@chapstartrue%% 追加 \setcounter{footnote}{0}%% 追加 トノさん,ありがとう(見落としてました) \chaptermark{#1}% \if@twocolumn \@topnewpage[\@makeschapterhead{#1}]% \else \@makeschapterhead{#1}\@afterheading \fi} % \def\thefootnote{% \if@chapstar\else\@arabic\c@chapter--\fi%% 追加 \ifnum\c@footnote>\z@\@arabic\c@footnote\fi} % \let\orig@makefnmark=\@makefnmark % <== \@makefnmark を別名で保存 \def\@makefnmark{\hbox{\@textsuperscript{\normalfont% 注\kern0.1em% \@thefnmark}}} \makeatother \begin{document} \chapter{ひらがな} あいうえお\footnote{アイウエオのひらがな。}。 これは注1-1。 \newpage \chapter*{カタカナ} \addcontentsline{toc}{section}{カタカナ} アイウエオ\footnote{あいうえおのカタカナ。}。 ここが注1となっているはず。 %これは注1としたいけれども、なぜか注1-2。 \chapter{最後} ほげほげ\footnote{なんちゃらかんちゃら} \end{document}

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます。適宜改行を入れてください)