0

How can I change level of heading in "List of tables" and "List of figures"?

I am using the usepackage tocbibind to get them on the table of contents, and \renewcommand{} to rename them.

2
  • Welcome to TeX.SX! What do you mean by “change level of heading”?
    – egreg
    Feb 20, 2018 at 11:53
  • Example, from \chapter{} to \section{} @egreg
    – Niklas
    Feb 20, 2018 at 12:02

2 Answers 2

2

As far as I understand your question all you need to do is put

\usepackage[section]{tocbibind}

in your preamble.

4
  • Thanks for the replay. I cant get this to work, could you possibly create an short example? Would prefere the use of subsection instead of section.
    – Niklas
    Feb 21, 2018 at 7:15
  • @Niklas Your statement "I can't get this to work" is of no help. Did you put \usepackage[section]{tocbibind} in your preamble? Show an MWE. In your comment to @egreg you wanted to go from \chapter{} to \section{}. Going to \subsection{} is a different issue which I will leave you to deal with. Feb 21, 2018 at 20:42
  • I am sorry for being wage, I can get it to work the way you suggested but not the way I want. I looked over the manual for the usepackage and come to the conclusion that it only works with "section". But as my question stated I want to be able to change the level of the heading to whatever (subsubsection, subsection, etc).
    – Niklas
    Feb 21, 2018 at 20:57
  • @Niklas Your question was about "change level of heading" and when asked what this meant you said "Example from \chapter{} to \section{}. That was what I gave a solution to. I answered your original question but now you have asked a different one. Feb 22, 2018 at 20:14
0

Change \tableofcontents and \listtablename to wathever you want to change, then change \section to what level of the heading you want.

Example 1

\makeatletter
\renewcommand\listoftables{%
\subsection{\listtablename{}}%
\@mkboth{\MakeUppercase\listtablename}%
     {\MakeUppercase\listtablename}%
\@starttoc{toc}%
}
\makeatother

Example 2

\makeatletter
\renewcommand\listoffigures{%
\subsection{\listfigurename{}}%
\@mkboth{\MakeUppercase\listfigurename}%
     {\MakeUppercase\listfigurename}%
\@starttoc{toc}%
}
\makeatother

Found an answer here.

7
  • Where's the connection to tocbibind here then?
    – user31729
    Feb 20, 2018 at 11:49
  • @ChristianHupfer I am not sure if I understand what you mean.
    – Niklas
    Feb 20, 2018 at 13:31
  • Well, you wrote about tocbibind usage -- now you are using a totally different solution whereas the tocbindind manual shows example(s) how to change the level of the relevant list of ... ... why the hard way?
    – user31729
    Feb 20, 2018 at 17:23
  • @Niklas Did you try this? I did for \listoffigures and got two subsection numbered entries in the ToC like "0.0.1 List of Figures", one indented in normal font with a page number and the other non-indented in a large bold font with no page number. Feb 20, 2018 at 19:48
  • @PeterWilson I removed the numbering with "\setcounter{secnumdepth}{0}" for TOC, LOF, and LOT.
    – Niklas
    Feb 21, 2018 at 7:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .