Adding word 'Table' before each entry in list of tables
You can use the chngcntr
package to change the counter for figures and the one for the tables, and the tocloft
package to add the words "Table" and "Figure" to the list of tables and figures. A little example:
\documentclass{report}
\usepackage{chngcntr}
\usepackage{tocloft}
\usepackage{hyperref}
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
\renewcommand{\cftfigpresnum}{Figure\ }
\renewcommand{\cfttabpresnum}{Table\ }
\newlength{\mylenf}
\settowidth{\mylenf}{\cftfigpresnum}
\setlength{\cftfignumwidth}{\dimexpr\mylenf+1.5em}
\setlength{\cfttabnumwidth}{\dimexpr\mylenf+1.5em}
\makeatletter
\newcommand\listoftablesandfigures{%
\chapter*{List of Tables and Figures}%
\phantomsection
\@starttoc{lof}%
\bigskip
\@starttoc{lot}}
\makeatother
\begin{document}
\listoftablesandfigures
\chapter{Test one}
\section{Test one one}
\begin{table}
\caption{Test table one}
\end{table}
\begin{figure}
\caption{Test figure one}
\end{figure}
\chapter{Test two}
\section{Test two two}
\begin{table}
\caption{Test table two}
\end{table}
\begin{figure}
\caption{Test figure two}
\end{figure}
\end{document}
Only the combined list of the resulting document is shown:
Just use these commands instead of \listoftables
and \listoffigures
:
for figures:
{%
\let\oldnumberline\numberline%
\renewcommand{\numberline}{\figurename~\oldnumberline}%
\listoffigures%
}
for tables:
{%
\let\oldnumberline\numberline%
\renewcommand{\numberline}{\tablename~\oldnumberline}%
\listoftables%
}
No need to use any packages and make things complicated.