使用 \lstlistoflistings 时标签和标题之间没有足够的空间

使用 \lstlistoflistings 时标签和标题之间没有足够的空间

我正在使用 \lstlistoflistings 命令来生成我的列表。遗憾的是标签和标题 (caption) 之间没有足够的空间。

\documentclass[12pt,oneside,titlepage,listof=totoc,bibliography=totoc]{scrartcl}
\begin{document}
\lstlistoflistings
\newpage
\chapter(Chapter One)
\lstinputlisting[caption=Example for a Dockerfile for building a webserver image]{./Quellcode/Dockerfile}
\end{document}

生成的清单列表的屏幕截图

相关内容