цвет индекса в тезисах красный

цвет индекса в тезисах красный

Я действительно не знаю, почему мой индекс красный. Я не использую цвет ни в одной части кода. Кто-нибудь может мне помочь? Мне нужно закончить его к завтрашнему дню!! Большое спасибо

Код:

\documentclass[12pt,a4paper,oneside,openright]{book}

  \usepackage{packages} % inserisce tutti le macro necessarie per il 
                        % funzionamento

\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{graphicx}
\usepackage{array}
\usepackage{amssymb}
\usepackage{booktabs}
\usepackage{subfloat}
\usepackage{subfig}
\usepackage{rotating}
\usepackage{amsthm}
\usepackage{caption}


\theoremstyle{plain} 
\newtheorem{thm}{Teorema}[section] 
\newtheorem{cor}[thm]{Corollario} 
\newtheorem{lem}[thm]{Lemma} 
\newtheorem{prop}[thm]{Proposizione} 


\theoremstyle{definition} 
\newtheorem{defn}{Definizione}[chapter] 

\theoremstyle{remark} 
\newtheorem{oss}{Osservazione} 


\usepackage{amsmath}
\algdef{SE}[EVENT]{Event}{EndEvent}[1]{\textbf{upon event}\ #1\ \algorithmicdo}{\algorithmicend\ \textbf{event}}%
\algtext*{EndEvent}
\algdef{SE}[EVENT]{When}{EndWhen}[1]{\textbf{when}\ #1\ \algorithmicdo}{\algorithmicend\ \textbf{when}}%
\algtext*{EndWhen}

\setstretch{1.3}  %interlinea, mettere 1 per singola da usarsi per le bozze!!!

\begin{document}


\theoremstyle{definition}
\newtheorem{definizione}{Definizione}
\newtheorem{lemma}{Lemma}
\theoremstyle{plain}
\newtheorem{teorema}{Teorema}


% genera la prima pagina

\titlep

% indica l'inizio della parte introduttiva
\frontmatter
\color{black}
   \input{ringraziamenti}
   \tableofcontents
   \listoffigures
  %\listoftables
%   \listofalgorithms

\clearpage

% indica l'inizio della parte centrale
\mainmatter
      \input{introd} % attenzione! guardare introd.tex per vedere come e' fatto
    \input{cap2}
    \input{cap3}
    \input{cap4}
    \input{cap5}
    \input{cap6}

% da qui in poi \chapter genera un'appendice
%\appendix
%\renewcommand{\chaptermark}[1]{\markboth{{\appendixname}\ \thechapter.\hspace{1em}#1}{}}

      %\input{app1}

\clearpage
\addcontentsline{toc}{chapter}{Bibliografia}
\begin{thebibliography}{9}

%\cfoot{\emph{Finito di stampare il \today\/ utilizzando \LaTeXe}}
\end{document}

решение1

Полагаю, где-то в неизвестных (для нас) файлах есть что-то вроде \usepackage[colorlinks,linkcolor=red]{hyperref}. В предоставленном фрагменте нет определений, которые делают вашу таблицу содержания (полагаю, вы имеете в виду таблицу содержания, а не индекс, хотя по-итальянски они "indice") красной. Вероятно, вы найдете это определение в файле, packages.styо котором я не знаю как о пакете CTAN.

Связанный контент