2

I can hyperlink references by hyperref package. But I can not hyperlink figures and tables? should I use any certain package for labeling ?

  • 4
    Welcome to TeX.SX! hyperref should turn all cross-references to hyperlinks, can you create a minimal (non-)working example (MWE) where it doesn't? – Torbjørn T. Aug 4 '14 at 16:28
  • Actually, hyperref only links to captions, not figures or tables. If you don't have captions, use \hypertarget and \hyperlink. – John Kormylo Aug 4 '14 at 19:26
  • Of course, hyperref can "hyperlink" figures and table. And stuff can be labeled without any package. Thus the question as it stands is pretty unclear. Usually a MWE helps a lot in clarifying. However nothing happened since three weeks, therefore I suggest to close the question with reason "unclear what is asked". – Heiko Oberdiek Aug 27 '14 at 23:57
2

I found this for my old problem (like yours). It can be for all: \cite and \ref (table, figure, citation) So, put this in your preamble:

\usepackage{hyperref}
\usepackage{xcolor}
\hypersetup{
  colorlinks   = true, %Colours links instead of ugly boxes
  urlcolor     = red, %Colour for external hyperlinks
  linkcolor    = blue, %Colour of internal links
  citecolor   = blue %Colour of citations
}
  • This just sets colored links instead of colored rectangles and changes the default colors. I do not see any relation to "figures", "tables", "labeling". – Heiko Oberdiek Aug 27 '14 at 23:59
  • @HeikoOberdiek, I'm using it and it does for all: tables, figure, citation, link, everything. – Gilson Aug 28 '14 at 0:04
  • It's ok, but I cannot see any relation to the question, except that hyperref is used. – Heiko Oberdiek Aug 28 '14 at 0:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.