I want to color the brackets of inline citation like: some text[9] where it is written in latex like this some text\cite{9}. Now hyperref only colors the number "9" without the brackets "[]". Is there any workaround for this?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
You can use the
|
|||
|
|

text~\cite{id}, this inserts a blank space between the text and the citation which will not be broken by a line break. – Dominikus K. Mar 10 at 9:14\documentclass{...}and ending with\end{document}. – Marco Daniel Mar 10 at 10:12\cite{paper1,paper2,paper8}, and these would have to link to different places, it doesn't make much sense to include the brackets in the link area. – Andrew Swann Mar 10 at 10:45[1-5]if you load certain citation styles, standardplainwill print[1,3,2,5,4]and each reference will be linked. If you add a minimal working example as Marco Daniel requests, you tell us which packages and citation styles you are using and we can better answer your question. – Andrew Swann Mar 11 at 7:42