I am using Lyx and i would like to change the color of hyperlinks on my bibliography. The default color is pink (at least on report layout , which i am using) Is it possible to change it, to blue ?

Thanks in advance :-)


According to the manual of hyperlink (p14), you should write something like this in your preamble:

  • 9
    One can add the urlcolor=blue instruction, as well as others controlling hyper-links, in Document > Settings > PDF Properties under the Additional options field. For example, a custom set of instructions may be the following: linkcolor=magenta, urlcolor=marineblue, citecolor=blue, pdfstartview={FitH}, hyperfootnotes=false, unicode=true Apr 10 '13 at 19:51
  • Undefined control sequence \hypersetup while using \usepackage{url}. Why? May 13 '15 at 14:30
  • @NikosAlexandris For some reason, this doesn't work for me. The color is still red. What am I doing wrong? May 26 '17 at 7:37
  • @roi.holtzman What is your setup? OS and LyX version? hyperref installed? Use Hyperref Support enabled? Code only in the Additional Options field? Any conflicting entries in the LaTeX Preamble? May 26 '17 at 9:55
  • 1
    @NikosAlexandris great suggestion to add hypersetup under Document > Settings > PDF Properties > Additional options. Some of my documents returned a Latex error "undefined color 'brown'". To fix the error I added \usepackage{xcolor} to the Latex Preample. Mar 1 '18 at 10:50

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.