1

I'm using documentclass scrbook and want to remove the dotted lines and hfill for page numbers in a List of Figures.

Something similar to what this does for the table of contents:

\RedeclareSectionCommands[
  toclinefill=\quad,
  tocraggedpagenumber=true,
]{part,chapter,section,subsection}

I think it's a simple question, but I've not found a specific discussion or solution here. Any hints are highly appreciated. I'm sorry if I'm doubling something.

1

There is the macro \DeclareTOCStyleEntry contained in KOMA. With it you can do the following:

\documentclass[]{scrbook}

\usepackage[]{graphicx}

\DeclareTOCStyleEntry[linefill=\quad,raggedpagenumber=true]{tocline}{figure}

\begin{document}
\listoffigures

\begin{figure}% >>>
  \centering
  \includegraphics{example-image-duck}%
  \caption
  {%
    A Friendly Duck%
    \label{fig:duck}%
  }%
\end{figure}% <<<

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.