How can I show navigation bullets without text above? In the following example:

\section{Sec 1}
\subsection{Sec 1}
\section{no text}
\subsection{no text}

I want no text above the second dot.

  • but you want the dot, right? I have a solution, but do you need the tableofcontents in the document?
    – Moriambar
    May 20 '17 at 12:10
  • @Moriambar The same as me?
    – TeXnician
    May 20 '17 at 12:14
  • @TeXnician I used [\space]
    – Moriambar
    May 20 '17 at 12:18

You could simply use an "empty" section (fully empty does not work, but you can fake it).


\section[~]{no text}
\subsection[~]{no text}

Please note that this will also remove the text from the toc. If you use table of contents this will cause trouble.

  • thanks. I need the toc, but I use \tableofcontents[sections={1}] to omit the last section
    – Martin
    May 20 '17 at 12:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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