I want to refer to any figure, table or citations in my text so that if I click on the reference (or link) it will take me to the actual figure, table or citation. Currently, it is not happening for me in the pdf I generate with LaTeX. Should I have to add any package for that?


1 Answer 1


You need to use the hyperref package for this. In the code below I have added some customization as a starting point because it is also frequently asked about.

    backref =       true,
    pagebackref  =  true,
    colorlinks =    true,
    linkcolor =     [rgb]{0.0,0.0,0.8},
    anchorcolor =   [rgb]{0.0,0.0,0.8},
    citecolor =     [rgb]{0.0,0.0,0.8},
    filecolor =     [rgb]{0.0,0.0,0.8},
    urlcolor =      [rgb]{0.0,0.0,0.8},
    pdftitle=       {Title},
    pdfsubject=     {Title},
    pdfauthor=      {A. Uthor}
  • 1
    If all colors are to be the same, you can provide a single instruction, viz., allcolors = blue (or whatever other color you like).
    – Mico
    Commented Feb 4, 2012 at 9:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .