Table of contents (Robert Bringhurst) in LaTeX

The table of contents of The Elements of Typographic Style by Robert Bringhurst.


We can do the same in LaTeX. The code is:

\usepackage{titletoc}
\titlecontents{chapter}[2.25em]{}%
{\contentslabel{2.25em}}{}%
{\hspace{0.5em}{|}\hspace{0.5em}\oldstylenums{\thecontentspage}}
\titlecontents{section}[3.45em]{}%
{\contentslabel{2.25em}}{}%
{\hspace{0.5em}{|}\hspace{0.5em}\oldstylenums{\thecontentspage}}
\titlecontents{subsection}[5em]{}%
{\contentslabel{2.25em}}{}%
{\hspace{0.5em}{|}\hspace{0.5em}\oldstylenums{\thecontentspage}}

This code produce the following:




















I used a pipe to separate the title of the page numbers.





















or with bullets:

\usepackage{titletoc}
\titlecontents{chapter}[2.25em]{}%
{\contentslabel{2.25em}}{}%
{\hspace{0.5em}{$\bullet$}\hspace{0.5em}\oldstylenums{\thecontentspage}}
\titlecontents{section}[3.45em]{}%
{\contentslabel{2.25em}}{}%
{\hspace{0.5em}{$\bullet$}\hspace{0.5em}\oldstylenums{\thecontentspage}}
\titlecontents{subsection}[5em]{}%
{\contentslabel{2.25em}}{}%
{\hspace{0.5em}{$\bullet$}\hspace{0.5em}\oldstylenums{\thecontentspage}}



We can do the same with lists of figures or lists of tables, using "figure" or "table" in the code.

With pipes:

\usepackage{titletoc}
\titlecontents{figure}[2.25em]{}%
{\contentslabel{2.25em}}{}%
{\hspace{0.5em}{|}\hspace{0.5em}\oldstylenums{\thecontentspage}}


or bullets:

\usepackage{titletoc}
\titlecontents{figure}[2.25em]{}%
{\contentslabel{2.25em}}{}%
{\hspace{0.5em}{$\bullet$}\hspace{0.5em}\oldstylenums{\thecontentspage}}

That's all.









Tuxkernel...