# How to remove the red boxes around toc [duplicate]

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 ...

MB

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

• 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
• 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