Re: chapter subtitle
- From: "TinTin?" <sidojensma@xxxxxxxxx>
- Date: 14 Oct 2005 07:57:17 -0700
OK, I succeeded in doing what I wanted to do By doing this;
\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{plain}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}
\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\refstepcounter{chapter}%
\typeout{\@chapapp\space\thechapter.}%
\addcontentsline{toc}{chapter}%
{\protect\numberline{\thechapter}#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{#1}]%
\@topnewpage[\@makesubchapterhead{#2}]
%<--------------------------
\else
\@makechapterhead{#1}%
\@makesubchapterhead{#2}
%<--------------------------------------------------
\@afterheading
\fi}
\def\@makechapterhead#1{%
\vspace*{50\p@}%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\raggedleft\sffamily\huge \@chapapp\space \thechapter
\par\nobreak
\vskip 20\p@
\fi
\fi
\interlinepenalty\@M
\Huge \bfseries #1\par\nobreak
\vskip 0\p@
}}
\def\@makesubchapterhead#1{%
<-------------------------------------------------------------------
\begin{flushright} \sffamily \bfseries \Large #1\par\nobreak
\end{flushright}%<---------------
}
So now I get
CHAPTER 1
SHORT
and a longer subtitle which clarifies things (hopefully)
By giving this command \chapter[short]{and a longer subtitle which
clarifies things (hopefully)}
I'm sorry next time I won't rush to mailinglist and give it more
extensive try myself.
--
sido
.
- Follow-Ups:
- Re: chapter subtitle
- From: Lars Madsen
- Re: chapter subtitle
- References:
- chapter subtitle
- From: TinTin?
- Re: chapter subtitle
- From: Morten Høgholm
- Re: chapter subtitle
- From: TinTin?
- chapter subtitle
- Prev by Date: Re: How to set default text size in TABLE environment
- Next by Date: Re: chapter subtitle
- Previous by thread: Re: chapter subtitle
- Next by thread: Re: chapter subtitle
- Index(es):