Hi,
I want to access the collective wisdom of the LaTeX experts here.
When using \tableofcontents, \listoffigures and \listoftables in the book class, they are displayed as chapters. This is usually fine, but now I need to mimic a Word template and it would be great if I could set them as sections.
-> essentially I would like to do this: \section{\listoftables}
I know how to make a section look like a chapter in the ToC, but I want the actual \listoftables to be typeset like a section in the document, not as a chapter.
I hope I was clear enough...
Cheers,
Bjorn
General ⇒ Typeset LoT as Section, not as Chapter
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Typeset LoT as Section, not as Chapter
Hi Bjorn,
no problem. If patching by etoolbox would be ok for you, this works:
Stefan
no problem. If patching by etoolbox would be ok for you, this works:
Code: Select all
\usepackage{etoolbox}
\newcommand*{\patchlist}[1]{\patchcmd{#1}{\chapter*}{\section*}{}{}}
\patchlist{\tableofcontents}
\patchlist{\listoffigures}
\patchlist{\listoftables}
LaTeX.org admin