I am attempting to enable PDF indexing of subsubsections in my Thesis but do not want them numbered. At the moment, the PDF output displays the subsubsections in the index but they link back to the last numbered subsection. If I increase the depth of numbering in (LyX: Document Settings > Numbering and TOC > Numbering) then the links work correctly but numbers are shown in the PDF document (which I don't want).

I have tried increasing the numbering depth and using \subsubsection* for the titles but then they are not shown at all in the index.

I also tried with \setcounter{secnumdepth}{2} but this also removes them from the index

I would prefer a document wide setting rather than having to change all the subsubsections but have even tried with \pdfbookmark which seems to cause some strange output in the PDF

I am using the hyperref settings from the classicthesis preamble (not from Document settings).
The files for a minimal example are linked below:

Files here

  • 2
    It doesn't work if you in Document --> Settings --> Numbering&ToC adjust the sliders so that subsubsections are included in the ToC but not numbered? Jan 14, 2014 at 8:03

1 Answer 1


Numbering is usually implemented in LaTeX by macro \numberline{<number>} inside the section title. With the help of option addtohook of package bookmark it can be automatically disabled for levels greater than two (subsubsection, paragraph, subparagraph, ...) independent from counter secnumdepth:

    \ifnum\bookmarkget{level}>2 %

  \section{Section A}
  \subsection{Subsection B}
  \subsubsection{Subsubsection C}


You must log in to answer this question.

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