How do I disable hyperlinks? My references are showing as green but I don't like it. Code below:
\documentclass[pdftex,12pt,a4paper]{report}
\usepackage{titlesec}
\titleformat{\chapter}{\bfseries\huge}{\thechapter.}{20pt}{\huge}
\usepackage[top=3cm, bottom=3cm, left=3.5cm, right=3cm]{geometry}
% graphics images
\usepackage[pdftex]{graphicx}
\usepackage[toc,page]{appendix}
\usepackage{slashbox}
% 1.5 line spacing
\usepackage{setspace}
\usepackage{tabu}
\usepackage{tabularx}
\onehalfspacing
% maths symbols
\usepackage{amsmath}
%\usepackage[math-style = upright]{unicode-math}
% table package
\usepackage{multirow}
% citation style
%\usepackage[colorlinks=true,linkcolor=black]{hyperref}
\usepackage[pdfpagelabels=false,pdfpagelabels=false,hyperindex=false,pageanchor=false]{hyperref}
\makeatletter
\let\Hy@linktoc\Hy@linktoc@none
\makeatother
\usepackage[square,sort,comma,numbers]{natbib}
\usepackage{amsfonts}
%\renewcommand{\chaptername}{}
\usepackage{tikz,colortbl}
\usetikzlibrary{calc}
\usepackage{zref-savepos}
\usepackage[bf,small,tableposition=top]{caption}
\usepackage{subfig}
\usepackage{float}
\usepackage{url}
\usepackage{pdfpages}
\begin{document}
% cover
%\input{cover_report.tex}
\includepdf[pages=1]{CoverPage}
% abstract
\setcounter{page}{1}
\pagenumbering{roman}
\input{abstract.tex}
% acknowledgement
\input{acknowledgements.tex}
% table of content
\tableofcontents
\addcontentsline{toc}{chapter}{Contents}
% intro chapter
\cleardoublepage
\pagenumbering{arabic}
\input{intro.tex}
\input{literature.tex}
\input{dataset.tex}
\input{module_design.tex}
\input{training.tex}
\input{results.tex}
\input{conclusion.tex}
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
% references
\bibliographystyle{unsrtnat}
\bibliography{fyp}
\end{document}
Best Answer
Use
allcolors=black
instead oflinkcolor=black
.(Why do you load
hyperref
if you don't want it?)