# Text color with hyperref package [closed]

I wanted to use the hyperref package and I looked for help and I found a lot of solutions. However, I used this option that look great, as I could control the colors.

\documentclass[12pt,a4paper]{article}
\usepackage{hyperref}
\hypersetup{
urlcolor     = red, %Colour for external hyperlinks
citecolor   = blue %Colour of citations, could be red''
}

After usuing the \usepackage{hyperref} I saw that the full text color changed from black to grey. I printed it to see if the problem is only in pdf format, but without \usepackage{hyperref} become darker than with \usepackage{hyperref} . How can I have the dark text and using \usepackage{hyperref}?

here are the images (sorry for the text in portuguese): with \usepackage{hyperref}

ahd without \usepackage{hyperref}

This is my MWE

\documentclass[12pt,a4paper]{article}
\usepackage[dvips]{graphicx}
\usepackage[portuges]{babel}
\usepackage[latin1]{inputenc}
\usepackage{verbatim}
\usepackage{natbib}
\usepackage{amssymb}
\usepackage{amsmath,amssymb,mathtools}
\usepackage{hyperref}
\hypersetup{
urlcolor     = blue,
citecolor   = blue
}

\usepackage[nodisplayskipstretch]{setspace}
\setstretch{1.5}

\begin{document}

\section{Monetary and Fiscal Policy rules}\label{sec:policyrules}

\subsection{Introduction}\label{subsec:intro}

I must confess to not seeing a difference in blackness/grayness of the text across the two samples.
Mico you are right. these images do not show clearly the difference. But if you pay more attention you can see that the second one is darker than first. And in the printed version the difference is bigger
A part of the problem is that it's hard to compare the two samples on screen: on contains four lines but the other only three. Could you repost the second example, showing four lines as well?
Mico here you are. I edited the second image. i think now the difference is clearly.

hyperref does not change the main text color. Thus the effect is probably quite unrelated to this package. One reason can be the use of color. This can be tested with package color and textcolor without hyperref. Or there are transparencies (images, ...) involved. It is known, that AR uses a different rendering method then.

You should provide a fully compilable minimal working example that only contains the lines necessary to reproduce the problem. Then it is easier for others to help you.

Can be a font problem.

Yeah, there isn't much we can do until we have a full MWE that we can print ourselves and compare.

\citet{Taylor1993}

\citep{Zheng.etal2012, Froemmel.etal2011, Hayat.Mishra2010, Moura.Carvalho2010, Consolo.Favero2009}.

\citet{Svensson2000, Ball1999}

\citet{Taylor2002}

\begin{align}
\label{eq:regrapm}
i_{t}&= \mathcal{M}(\Omega_{t})+\epsilon^{\mathcal{M}}_{t} \\
G_{t}&= \mathcal{G}(\Omega_{t})+\epsilon^{\mathcal{G}}_{t} \\
\label{eq:regrarev}
R_{t}&= \mathcal{R}(\Omega_{t})+\epsilon^{\mathcal{R}}_{t}
\end{align}

\citet{Clarida.etal2000}, da seguinte forma:
$$\label{eq:jurosequilibrio} i^{\ast}=\mathfrak{m}_{0}+\mathfrak{m}_{1}\left(E\left[\pi_{t,k}|\Lambda_{t}\right]-\pi^{\ast}\right)+ \mathfrak{m}_{2}E\left[y_{t,q}|\Lambda_{t}\right]+\mathfrak{m}_{3}E\left[X_{t}|\Lambda_{t} \right]$$

\subsection{Conclusion} \label{subsec:conclusion}

\bibliographystyle{mybibstylept}
\bibliography{thesisbiblio}

\end{document}

## closed as unclear what you're asking by Werner, ChrisS, user31729, Jesse, GuidoSep 27 '14 at 6:35

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• I must confess to not seeing a difference in blackness/grayness of the text across the two samples. – Mico Aug 20 '14 at 20:06
• @Mico you are right. these images do not show clearly the difference. But if you pay more attention you can see that the second one is darker than first. And in the printed version the difference is bigger – Gilson Aug 20 '14 at 20:10
• A part of the problem is that it's hard to compare the two samples on screen: on contains four lines but the other only three. Could you repost the second example, showing four lines as well? – Mico Aug 20 '14 at 20:15
• hyperref does not change the main text color. Thus the effect is probably quite unrelated to this package. One reason can be the use of color. This can be tested with package color and \textcolor without hyperref. Or there are transparencies (images, ...) involved. It is known, that AR uses a different rendering method then. – Heiko Oberdiek Aug 20 '14 at 20:49
• You should provide a fully compilable minimal working example that only contains the lines necessary to reproduce the problem. Then it is easier for others to help you. – Fritz Aug 20 '14 at 21:47

This is my answer... just include \usepackage{xcolor}

• That would mean, the problem is unrelated to hyperref. – Heiko Oberdiek Aug 28 '14 at 0:59
• @HeikoOberdiek I think it is. In my point of views, if we are using hyperref with \hypersetup, we have to include xcolor package. Am I wrong? – Gilson Aug 28 '14 at 2:48
• The differences are between "no color", package color and xcolor, thus no relation to hyperref. – Heiko Oberdiek Aug 28 '14 at 7:54