This question already has an answer here:

This is in with regards to the below post

How to add an extra level of sections with headings below \subsubsection

The code works flawlessly. But do I remove the red frame boxes which cover the entries in table of content?

Sorry about the stupid question but I am new to latex and just trying to learn ...


marked as duplicate by Heiko Oberdiek, Werner, Sean Allred, Peter Jansson, Stefan Kottwitz Mar 8 '14 at 18:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    The boxes are added by the hyperref package, and indicates that the toc entries are hyperlinks. Add hidelinks as an option to hyperref, i.e. \usepackage[hidelinks]{hyperref}. – Torbjørn T. Mar 8 '14 at 16:34
  • @TorbjørnT. - make this into an answer, please. – Mico Mar 8 '14 at 16:47
  • the boxes will not show in the printed version of the document, and option colorlinks=true allows to use colors rather than boxes. – user4686 Mar 8 '14 at 16:57
  • 1
    @Mico There's bound to be a duplicate question somewhere, I just didn't have time to find it. – Torbjørn T. Mar 8 '14 at 17:38