# Indexing numbers of different types

When I use the package makeidx the indexing chapter starts with the text: "Numbers written in italic refer to the page where the corresponding entry is described; numbers underlined refer to the definition; numbers in roman refer to the pages where the entry is used."

%%% Preamble

\documentclass[paper=a4, fontsize=12pt]{report}
\usepackage{hyperref}
\usepackage{multicol}
\usepackage{doc}
%%%%%% Indexing %%%%%%
\usepackage{makeidx}
\makeindex
%%% Begin document
\begin{document}
\chapter{Cats}
\printindex
\end{document}


Which generates the

How can I either remove this text or make the referenced pages have the specified formats?

@Andrew I am afraid that I need that package since I am using the minitoc.ist style, well my own version since I had to define some things, which needs the doc package, see Problems when making index

• Welcome to TeX.SX!. When asking questions it is better to provide a full minimal working example (MWE) both in order to demonstrate what you are trying to do and to help others help you. The MWE should look like \documentclass...\begin{document}...\end{document}, it should compile and contain close to the minimal amount of code needed to explain/demonstrate what you are asking. This saves everyone time:)
– user30471
Apr 13 '15 at 7:51
• As far as I can see the only way to get this message is if you are using the doc package. This package is useful only if you are producing documentation for a LaTeX package, which it sounds like you are not doing. To get rid of it simply remove \usepackage{doc} from your preamble. As you haven't provide a MWE it's impossible to see if this is what you doing.
– user30471
Apr 13 '15 at 22:00
• @Andrew: If there is no further clearification by the OP, I think, you should transfer your comment to an answer, please.
– user31729
Apr 14 '15 at 0:07
• The edited code shows that the guess of Andrew was correct: \usepackage{doc} seems to be the cause
– user31729
Apr 14 '15 at 14:11
• What's the purpose of \usepackage{doc}? Apr 14 '15 at 14:14

As far as I can see the only way to get this message is if you are using the doc package. This package is useful only if you are producing documentation for a LaTeX package, which it sounds like you are not doing. To get rid of it simply remove \usepackage{doc} from your preamble. As you haven't provide a MWE it's impossible to see if this is what you are actually doing.

Edit If you really need to use the doc package then you can remove/change this message using \IndexPrologue:

\documentclass[paper=a4, fontsize=12pt]{report}
\usepackage{hyperref}
\usepackage{multicol}
\usepackage{doc}
%%%%%% Indexing %%%%%%