\def\table{\def\figurename{Table}\figure}
\let\endtable\endfigure
Should put all figures and tables in the same sequence and write Table for table captions.
The list of figures will still say list of figures, if you want to change that add
\renewcommand\listfigurename{List of Figures and Tables}
Do not use two different packages to change the TOC or the lists. With a KOMA-Script class I would prefer package tocstyle
because it is part of the KOMA-Script bundle. But it seems to me that there is no additional package needed.
You can use option
listof=totoc,
to get TOC entries for the lists,
listof=entryprefix,
to get prefixes for the list entries,
toc=sectionentrywithdots,
to get dots between the section entries in TOC and their page numbers.
To rename \figurename
and \tablename
use
\renewcaptionname{german}{\figurename}{Abb.}
\renewcaptionname{german}{\tablename}{Tab.}
and for the :
after the figure or the table number in the lists
\BeforeStartingTOC[lof]{\def\autodot{:}}
\BeforeStartingTOC[lot]{\def\autodot{:}}
Code:
\documentclass[
bibliography=totoc,
listof=totoc,
listof=entryprefix,
toc=sectionentrywithdots
]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[german]{babel}
\renewcaptionname{german}{\figurename}{Abb.}
\renewcaptionname{german}{\tablename}{Tab.}
\BeforeStartingTOC[lof]{\def\autodot{:}}
\BeforeStartingTOC[lot]{\def\autodot{:}}
\begin{document}
\tableofcontents
\listoffigures
\clearpage
\section{Test}
\begin{figure}
\centering
\includegraphics[width=0.7\linewidth]{example-image}
\caption{Fertigungsprozess der GMH}
\label{fig:GMH_Fertigungsprozess_mit_Logo}
\end{figure}
\end{document}
BTW do you really want to use german
instead of ngerman
?
Best Answer
You can simple use the KOMA-Option
listof=entryprefix
. There are to possibilities:or