You can use the substr
package in addition of titlesec
(with explicit
option) for create a semantic way of putting authors in titles.
Then, you can write your chapter on this way:
\chapter{About random things on Internet, and another
procrastination issues. Alice Marigold}
In this case the title and the author are separated for a ". " (You can use another separator if you use periods in one of your titles). Then you can modify the \chapter
format with titlesec
. With the explicit
option you can access directly to the title content with #1
. Then you can separate the title and the author with the commands \BeforeSubString
and \BehindSubString
of the substr
package, respectively. They have two arguments: the separator token (in this case is ". ") and the string (the title. author).
For a simple example:
\titleformat{\chapter}[hang]{}{%
\Huge \thechapter.
}{1cm}{%
\LARGE \scshape \BeforeSubString{. }{#1}\\
{\Large \itshape ---\BehindSubString{. }{#1}---}%
}
The result is similar to this.
You can make very different forms of place titles and authors, including putting it on the left. This is a example I used in a LaTeX demonstration, with the calc
package:
\titleformat{\chapter}[hang]{}{%
\Huge \thechapter.
}{1cm}{%
\LARGE \scshape \BeforeSubString{. }{#1}\\
\makebox[\textwidth - (1cm + \widthof{\Huge \thechapter.})][r]{\Large \itshape \BehindSubString{. }{#1}}%
}
About the table of contents, you can ignore it putting the title without the author in the \chapter
optional argument, or modify it with titletoc
.
And there are infinite possibilities of writing multi-information titles with these two packages...
PD: Sorry, but for some reason I can't put the CTAN links to the packages.