[EMAIL PROTECTED] wrote:

> I'm working on an anthology [this book will actually be printed],
> and as such there are almost as many authors as chapters.
> 
> 1.  How do I get the individual author's names to display in the TOC?
> 
> 2.  How do I get the chapter name to display in the even side
> headers?
> 
> 2a.  How do I get the author's name to display in the odd side
> headers?
> 
> I've been trying out both the Koma-script and Memoir packages,
> and neither will get me 100% of the way there [yet].

The book classes are not really suited for anthologies and collections. For
such things, I use a class file that redefines and enhances KOMA book
accordingly. The following snippet defines some new environments (I use ERT
for that):

\contribution[subtitle]{separator}{author}{affiliation}{main title}
and
\coauthor{second author}
\coloc{affiliation of second author}
\coautsep{separator between multiple authors} %predefined

Here is the snippet. Just insert it in the preamble of a KOMA book document
and adapt it to your needs (attached is an example file):

%% This is needed if you use footnotes in titles
%% Special footnote code from the package 'stblftnt.sty'
%% Author: Robin Fairbairns -- Last revised Dec 13 1996
\let\SF@@footnote\footnote
[EMAIL PROTECTED]@protect
    \expandafter\SF@@footnote
  \else
    [EMAIL PROTECTED]@opt
  \fi
}
\expandafter\def\csname [EMAIL PROTECTED]@opt [EMAIL PROTECTED]
  [EMAIL PROTECTED]@twobracket
  [EMAIL PROTECTED]
}
[EMAIL PROTECTED]@opt{\noexpand\protect
  \expandafter\noexpand\csname [EMAIL PROTECTED]@opt \endcsname}
[EMAIL PROTECTED]@twobracket[#1]#2{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

[EMAIL PROTECTED]@coauthor{}
[EMAIL PROTECTED]@coloc{}
[EMAIL PROTECTED]@coautsep{}
\coautsep{\space$\cdot$\space}

% font definitions
\newcommand\authorfnt[1]{\normalsize\textmd{#1}}% author
\newcommand\locfnt[1]{\normalsize\textmd{#1}}% affiliation
\newcommand\titlefnt[1]{\fontsize{15pt}{18pt}\selectfont\textbf{#1}}% title
\newcommand\subtitlefnt[1]{\normalsize\bfseries{#1}}% subtitle
\setcounter{tocdepth}{0}

\newcommand*{\contribution}[5][]{%
% [1] Subtitle
% [2] Separator Title -- Subtitle (only used in TOC)
% {3} Author
% {4} Affiliation
% {5} Title
%% Switch to symbolic footnotes
\let\theoldfootnote\thefootnote
\renewcommand\thefootnote{\fnsymbol{footnote}}
\setcounter{footnote}{0}
\ifx\\#1\\%
\chapter*{\authorfnt{#3} \locfnt{(#4)}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]@coauthor}%
\space\locfnt{([EMAIL PROTECTED])}\fi
\\[4pt]\titlefnt{#5}}%
[EMAIL PROTECTED]@empty              
\else/[EMAIL PROTECTED]
\else
\chapter*{\authorfnt{#3} \locfnt{(#4)}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]@coauthor}
\locfnt{([EMAIL PROTECTED])}\fi
\\[4pt]\titlefnt{#5}\\[2pt]\subtitlefnt{#1}}%
[EMAIL PROTECTED]@empty              
\else/[EMAIL PROTECTED]
\fi
[EMAIL PROTECTED]@[EMAIL PROTECTED]@coauthor}\fi
{#5}%
\setcounter{section}{0}
\setcounter{figure}{0}
\setcounter{table}{0}
%% Switch back to numeric footnotes
\let\thefootnote\theoldfootnote
[EMAIL PROTECTED]@empty
[EMAIL PROTECTED]@empty
}

HTH,
Jürgen

Attachment: collection.lyx
Description: application/lyx

Reply via email to