I want to format the table of contents of a reader in a non-standard manner, see example:
In particular, the sections are listed 'inline', without page numbers, separated by bullets and indented w.r.t. the chapter listing. The unnumbered 'chapters' (bibliography, index, etc.) at the end of the document are aligned with the chapter numbers, not indented.
Unfortunately I haven't been able to find a transparent explanation of how to achieve this. A bit of searching got me to this question on this site, which has an answer with a table of contents that looks somewhat similar to what I'm looking for, see the image below.
The problem is that the accompanying code is a complete mystery to me, I am unable to find any useful correlation between the code and the output. I hope someone here can either explain to me what the code does, or show me another way to get the look I want. Needless to say I'm a novice at TeX.
Thanks in advance
etoc
package has an example of something like this, if I remember correctlytitletoc
/titlesec
documentaion.etoc
is very powerful. If you are usingtitlesec
,titletoc
will cooperate with it. The best approach depends on minimal information about your document which we don't have. A minimal example would be helpful in this respect.