How do I disable hyperlinks? My references are showing as green but I don't like it. Code below:


\usepackage[top=3cm, bottom=3cm, left=3.5cm, right=3cm]{geometry}

% graphics images

% 1.5 line spacing

% maths symbols
%\usepackage[math-style = upright]{unicode-math}

% table package

% citation style






% cover

% abstract

% acknowledgement

% table of content

% intro chapter

% references

  • 7
    You ask how to make all link black colored, right? Read your own code, pay attention to commented lines.
    – Johannes_B
    Commented Jul 17, 2016 at 16:24
  • 4
    By the way, your examples are useless to us, because we don't have the files. They aren't needed on the other hand, so you can throw them out for a code example.
    – Johannes_B
    Commented Jul 17, 2016 at 16:25

3 Answers 3


Use allcolors=black instead of linkcolor=black.

(Why do you load hyperref if you don't want it?)

  • 2
    Thanks ! I had to submit a softcopy and a hardcopy of my report. The references in green were not appearing in the printed copy and my team still wanted linked the references in softcopy.
    – Kong
    Commented Jul 18, 2016 at 3:38
  • 1
    If the final document is to be distributed on paper, it may still be handy to have working links in a personal copy (e.g. a list of figures). Alternatively DOIs in a reference section might be set in a typewriter font, indicating that they are clickable (or indicating enough to wave the cursor over them and see it change)
    – Chris H
    Commented Jul 18, 2016 at 8:35
  • If the document already uses href commands, you'll get a compile error if you stop loading hyperref.
    – skirodge
    Commented Feb 5, 2023 at 18:51

Package hyperref provides option hidelinks for links without optical markup.

  • Since it is clear what the OP's intention was, I think this should be the accepted answer, because that's the hyperref way of hiding links without losing the hyperlink functionality.
    – beatngu13
    Commented Jul 18, 2016 at 7:52

If you want to (temporarily) disable hyperref you can use the draft option:




In your case:


Switch to final if you want to enable hyperref again.

As mentioned before, if you don't want hyperlinks at all, don't load the package. If you simply want to change their appearance, checkout this answer.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .