mercredi 3 décembre 2014

Is there a simple way to insert text into each line of a table of contents?


I have a LaTeX document (memoir class) broken into unnamed, numbered chapters, like so \chapter{}.


I'd like the table of contents to look roughly like this:



Contents

Chapter 1 ............... 1

Chapter 2 ............... 5


However, \tableofcontents generates the following:



Contents

1 ............... 1

2 ............... 5


Is there a way to insert the word 'Chapter' into each line of the table of contents, preferably without naming the chapters and re-configuring the chapter titles?


I've done a fair amount of searching and have looked into tocloft, titletoc and other such packages, however I haven't found a solution to this particular problem.


I'm hoping I've missed something simple here.





Aucun commentaire:

Enregistrer un commentaire