I am writing my thesis in latex. But I wanna change "some" citation numbers color in text. my citation number color setting is as follows:

    \SetWatermarkText{\ \ \ pishnevis}
    %\usepackage[disable]{todonotes} % final without TODOs

as you see, the above setting makes my citation number color to blue. but I want to change some citation colors to black.

for example only:


changes to black not blue.


You can use the \hypersetup command to change the citation command. Enclosing it in a group {...} will make the change. Thus for example


provides a basic citation command that prints the citation in red instead of the current default.

Sample output










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.