[Tex/LaTex] Lyx – List of Figures

koma-scripttable of contentstocloft

I am using LyX and the report class. (KOMA-Script).
My List of Figures just prints the figure number and its caption but not the word Figure infront.
How could I modify the command in the Latex preamble?

Best Answer

You can simple use the KOMA-Option listof=entryprefix. There are to possibilities:

\documentclass[listof=entryprefix]{scrreprt}

or

\documentclass{scrreprt}
\KOMAoptions{listof=entryprefix}

enter image description here

\documentclass{scrreprt}
\KOMAoptions{listof=entryprefix}

\begin{document}

\listoffigures

\chapter{First chapter}
\begin{figure}[!ht]
  \centering
  \rule{2cm}{2cm}
  \caption{test figure one}
  \label{fig:test1}
\end{figure}
\begin{figure}[!ht]
  \centering
  \rule{2cm}{2cm}
  \caption{test figure two}
  \label{fig:test2}
\end{figure}

\end{document}
Related Question