1

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?

\documentclass[12pt]{iopart}

\usepackage{times}
\usepackage{xurl}
\usepackage{cancel}
\usepackage{ulem}
\usepackage{cite}
\usepackage[colorlinks, citecolor = blue, urlcolor = blue]{hyperref}
\usepackage{graphicx}
\usepackage{subfig}
\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
\usepackage{amsmath}
\usepackage[RPvoltages]{circuitikz}
\usetikzlibrary{patterns}
\usepackage{array,booktabs}
\usepackage{tikz}
\usepackage{float}
\hbadness=6000
\overfullrule=1pt
\hfuzz=2pt
\pdfoutput=1

enter image description here

1 Answer 1

3

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.

2
  • 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.