Create a modified cite command that colors the number inside the square brackets

by Henry   Last Updated May 16, 2019 02:23 AM

i was searching for the past hour and couldnt find an answer. I'm using the cite{} command and its working nicely ofc. But I would like to make a small modification. When my reference appears in the text, the reference number inside the square brackets should have a specified color. How can I achive this (please see attached picture below)? Only the inner number should be colored and the outer brackets should stay black. Any help is appreciated, thank you very much.

Like this



Related Questions


Updated January 31, 2017 14:09 PM

Updated April 27, 2017 13:23 PM

Updated August 20, 2015 17:10 PM

Updated April 15, 2018 19:23 PM

Updated May 14, 2017 16:23 PM