I'm using the chngcntr
package to prevent the figure numbering from restarting, in my scrreprt
. Take a look at the following code:
\usepackage{chngcntr}
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
\counterwithout{footnote}{chapter}
Although the numbering is not interrupted, at times, I get a little vertical space in the Table of Figures between the references, which again plays the role of a divisor between figures coming from different chapters. Is there a way to get rid of it?
In my .lof
file for the Table of Figures, those lines happen to be the cause of this vertical space:
\addvspace {10\p@ }
\defcounter {refsection}{0}\relax
\addvspace {10\p@ }
EDIT: A sample code to illustrate what I mean:
\documentclass[a4paper,fontsize=11pt,oneside,parskip=half]{scrreprt}
\usepackage[demo]{graphicx}
\usepackage{scrhack}
\usepackage{chngcntr}
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
\counterwithout{footnote}{chapter}
\begin{document}
\listoffigures
\clearpage
\chapter{Chapter}
\begin{figure}[htb]
\includegraphics{image}
\caption{First Figure}
\label{fig1}
\end{figure}
\begin{figure}[htb]
\includegraphics{image}
\caption{First Figure}
\label{fig2}
\end{figure}
\chapter{Chapter}
\begin{figure}[htb]
\includegraphics{image}
\caption{First Figure}
\label{fig3}
\end{figure}
\begin{figure}[htb]
\includegraphics{image}
\caption{First Figure}
\label{fig4}
\end{figure}
\chapter{Chapter}
\begin{figure}[htb]
\includegraphics{image}
\caption{First Figure}
\label{fig5}
\end{figure}
\begin{figure}[htb]
\includegraphics{image}
\caption{First Figure}
\label{fig6}
\end{figure}
\end{document}
\documentclass{...}
and ending with\end{document}
.