I am pretty new to the wonderful world of LaTeX and I need your help.
I want to add the prefix "Abb." to each entry of the list of figures, and the prefix "Tab." to each entry of the list of tables. In addition I want to add a ": " after each number in the lists. I tried the following with KOMA-script but it will not work. It displays just the number and the caption of the figure.
Please check my sample:
\documentclass[11pt,a4,bibliography=totoc,liststotoc]{scrartcl}
\usepackage[german]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{tocstyle}
\usepackage{tocloft}
\newtocstyle[KOMAlike][leaders]{KOMAlikewithdot}{}
\usetocstyle{KOMAlikewithdot}
\settocfeature[lof]{entryhook}{\noindent Abb.\nobreakspace}%
\settocfeature[lot]{entryhook}{\noindent Tab.\nobreakspace}%
\renewcommand{\cftfigpresnum}{Abb. }
\renewcommand{\cfttabpresnum}{Tab. }
\renewcommand{\cftfigaftersnum}{:}
\renewcommand{\cfttabaftersnum}{:}
\begin{document}
\renewcommand{\figurename}{Abb.}
\renewcommand{\tablename}{Tab.}
\listoffigures
\pagebreak
\begin{figure}
\centering
\includegraphics[width=0.7\linewidth]{Bilder/GMH_Fertigungsprozess_mit_Logo}
\caption{Fertigungsprozess der GMH}
\label{fig:GMH_Fertigungsprozess_mit_Logo}
\end{figure}
\end{document}
Kind regards and thanks in advance
tocloft
, it does harm. texwelt.de/wissen/fragen/6141/verzeichnisprafix-in-koma-klassen