Sender: |
|
Subject: |
|
From: |
|
Date: |
Wed, 17 Nov 1999 19:28:13 +0000 |
In-Reply-To: |
|
Reply-To: |
|
Parts/Attachments: |
|
|
> Javier wrote:
>
>>> - are there other templates missing that do radically different things?
> > Yes. Entries grouped in a single paragraph. For instance:
> > 1) First section, 3. 2) Second section, 5. 3) Third section, 7. 4)...
> quite right, i have a couple of layouts for tocs that do use those and have
> halfway tried my hands on that already (but not finished)
<aol> me too </aol> But I took my code from Javier's titletoc package.
Anyway here are the intances for `Homology Theory', James Vick, GTM #145,
Springer. The leaders could be
\leaders\hbox{\kern\@tempdimc\hbox{leader@action}} or xleaders...?
as this would make the effect of leaders-sep easier to guess.
\DeclareCollectionInstance{homology}{contentsobject}{chapter}{JK}
{number-format=\textsc{Chapter~ #1}\\,
boxed-number=false,
pre-v-action= \addvspace{10pt},
leaders-sep= 1.5pt}
\DeclareCollectionInstance{homology}{contentsobject}{section}{JK}
{ object-indent=12pt,
number-format=\relax,
leaders-sep = 1.5pt}
And contentsobject template contains
\if@boxed@number
\IfNoValueT{#3}{\def\COnumber@format##1{\hfil}}
\hbox to \@tempdima {\COnumber@format{#3}}
\else
\IfNoValueT{#3}{\def\COnumber@format##1{\relax}}
{\COnumber@format{#3}}
\fi
|
|
|