Re: jsbookで作品がまとめられない

名前: ut
日時: 2008-12-03 12:09:58
IPアドレス: 157.118.27.*

>>52309 # 相変わらずしつこくてスイマセン…。先日のは余りに強引だったと # 思うので、考え直しました: % ------------------------------------------------------------ \documentclass{jsbook} \makeatletter %%% \mainmatter もどき: \newcommand\pseudomainmatter{% \cleardoublepage \@mainmatterfalse \pagenumbering{arabic}} %%% chapter 番号を削る: \renewcommand{\thesection}{\@arabic\c@section} %%% 1 行だけ追加: \def\@chapter[#1]#2{% \ifnum \c@secnumdepth >\m@ne \if@mainmatter \refstepcounter{chapter}% \typeout{\@chapapp\thechapter\@chappos}% \addcontentsline{toc}{chapter}% {\protect\numberline {\if@english\thechapter\else\@chapapp\thechapter\@chappos\fi}% #1}% \else\addcontentsline{toc}{chapter}{#1} \stepcounter{chapter}\fi%%% <- この 1 行を追加 \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} \makeatother \begin{document} \frontmatter \chapter{はじめに} \tableofcontents \pseudomainmatter% <- \mainmatter に代えてこれにする \chapter[作品A(目次・ヘッダ用見出し)]{作品A} \section{あいうえお} \subsection{abc} \subsection{def} \newpage \section{かきくけこ} \newpage \section{さしすせそ} \chapter{作品B} \section{たちつてと} \newpage \section{なにぬねの} \newpage \section{はひふへほ} \end{document} % ------------------------------------------------------------

この書き込みへの返事:

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