how can I change the color of the number of figures in the text? what I have is red as you can see in the attached photo. How can I change it to blue or black?


\usepackage[colorlinks, citecolor = blue, urlcolor = blue]{hyperref}
\expandafter\let\csname equation*\endcsname=\relax % to fix some errors regarding asmath because it is not friendly with iopart publisher
\expandafter\let\csname endequation*\endcsname=\relax

enter image description here

1 Answer 1


In the argument of \usepackage{hyperref}, add linkcolor = blue, or balck, or any other color you would like. The new command will read \usepackage[colorlinks, citecolor = blue, urlcolor = blue, linkcolor = blue]{hyperref}

Link color refers to any internal links in the document, such as references to figures as you have, or references to sections, tables, ect.

  • Added a comment because it specific to your case- so far all the hyperlink colors you've specified are blue. Maybe you would be interested in using allcolors = blue as an argument to hyperref
    – Will
    Feb 24, 2021 at 1:35
  • thank you so much
    – soooleh
    Feb 24, 2021 at 1:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.