I could add text "Figure" to the List of figures (\listoffigures), but the problem is that hyperref can not cover those extra text "Figure"s. Can you please suggest a solution for this?
Thanks a lot.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
\cftfigfont is a just a quick hack, I guess you read it on some web site. \cftfigfont is a macro for the figure font name, for example one writes \renewcommand{\cftfigfont}{\bfseries} to get bold figure numbers. That hack sets Figure instead of \bfseries right before a figure number, so it seems to work in the text but hyperref cannot see this to extend the hyperlink.Code: Select all
\usepackage{tocloft}
\usepackage{hyperref}
\renewcommand{\cftfigpresnum}{Figure\ }
\newlength{\figlen}
\settowidth{\figlen}{\cftfigpresnum}
\setlength{\cftfignumwidth}{\dimexpr\figlen+1.5em}Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis