I'm trying to compile an scrbook
and what I would like is to shon an author with affiliation for each chapter. The authblk
package allows us to do this for the title.
Is there anyway to adapt it to chapters? I've tried different things, but most didn't work out. Does anyone maybe have a working piece of tex?
This is how I imagine it to work
(this is no working example, just an illustration:
\documentclass{scrbook}
\begin{document}
\title{My Book}
\author{F. D. C. Willard}
\chapter{Chapter 1}
\chapterauthor[1]{Don Joe}
\chapterauthor[1]{F. D. C. Willard}
\chapteraffil[1]{TeX Stackexchange School}
\chapter{Chapter 2}
\chapterauthor[1]{John Doe}
\chapterauthor[1]{Jane Doe}
\chapterauthor[2]{Albert Einstein}
\chapterauthor[3]{Pepe Frog}
\chapterauthor[3]{Willy Wonka}
\chapteraffil[1]{Harvard University}
\chapteraffil[2]{Tex School}
\chapteraffil[3]{High School 4C District}
\end{document}
This should end up like this and additionally showing the author names and additionally a list of affiliations like this:
In the TOC I would just like to show a comma separated list of authors.
I've added the bounty b/c my tries just failed.
Best Answer
No package (apart hyperref), simple minded. Needs to be customized probably.
Note: a solution without extra mark-up with
affils
environment is possible, but this one is easier to customize viaenumitem
for example for the list of affiliations.edit
I have added variant using
\sffamily
, suppressing indentation of first paragraph following list of affiliations and controlling vertical space usingenumitem
for it.TOC:
CHAPTERS:
Updated code
Produces