Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am hiding subsubsections in my TOC because they got too many. But I would like them to show up in the navigation when viewing the document as PDF anyway. Is there any way to do this, and how?

\documentclass{article}
\usepackage[pdfdisplaydoctitle=true,pdfstartview={FitB},bookmarksopen,colorlinks=true]{hyperref}
\setcounter{tocdepth}{2}
\begin{document}
\tableofcontents
\section{Section}
\subsection{Subsection}
\subsubsection{Subsection}
\paragraph{Paragraph}
\end{document}
share|improve this question
    
That's what I'm using to thide them from the TOC. But I want them to show up in the PDF anyway –  Florian Peschka Aug 27 '12 at 11:29
    
I was misreading your question. Sorry! –  kan Aug 27 '12 at 11:32

1 Answer 1

up vote 15 down vote accepted
\usepackage[bookmarksdepth=3]{hyperref}
share|improve this answer
1  
Oh wow, this is golden! Now I can even set that to 4, so the paragraphs show up, too, while still keeping the TOC clean and small. Thank you so much! :) –  Florian Peschka Aug 27 '12 at 11:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.