I'm putting together a book (using the book
class) where each chapter is written by a different author. So each chapter will have two lines of text, and so will each entry on the ToC. By default, LaTeX positions the page number right aligned, and next to the second line of the entry (which is the author, in my case) in the ToC.
I want it to be next to the right next to the entry (not right-aligned) and on the first line (i.e. right next to the chapter title). Something like this:
**Contents**
Chapter 1 title blah blah 5
Author 1
Chapter 2 title blah 11
Author 2
etc...
Here's a MWE:
\documentclass[twoside,10pt]{book}
\usepackage[hidelinks]{hyperref}
\usepackage{pdfpages}
\begin{document}
\cleardoublepage
\phantomsection %
\pdfbookmark[0]{\contentsname}{toc} % Adds a PDF bookmark for the TOC.
{\pagestyle{plain}
\tableofcontents
\cleardoublepage}
\chapter[Chapter 1 title Blah Blah \\{\normalfont Author 1}]{Chapter 1 title Blah Blah \\ {\normalfont Author 1}}
Chapter 1 text.
....
\chapter[Chapter 2 title Blah \\ {\normalfont Author 2}]{Chapter 2 title Blah \\ {\normalfont Author 2}}
Chapter 2 text ..
....
\end{document}
Thanks in advance for the help.