at the moment I'm a little bit fighting with my listoffigures. - I 'just' want to put the \figurename
(here it is "Pict.") in front of the \contentslabel
in the lof. Here's a little code example:
\documentclass[oneside,openright,BCOR=5mm,paper=a4,fontsize=11pt]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[automark]{scrpage2}
\usepackage{xcolor}
\usepackage{geometry}
\geometry{a4paper, top=35mm, left=30mm, right=30mm, bottom=25mm, headsep=15mm, footskip=12mm}
\usepackage[demo]{graphicx}
\usepackage{textpos}
\usepackage{blindtext}
\usepackage{lipsum}
\usepackage{titletoc}
\usepackage{mparhack}
\addto\captionsngerman{\renewcommand{\figurename}{Pict.}}
\titlecontents{figure}[2.0cm]{\footnotesize}{\contentslabel{2.0cm}}{\hspace*{-1.5cm}}{\titlerule*[0.12cm]{.}\contentspage}[\addvspace{6pt}]
\begin{document}
\pagestyle{scrheadings}
\clearscrheadfoot
\ohead[\headmark]{\headmark}
\listoffigures
\chapter{Chapter}
\lipsum[1]
\begin{figure}[htbp]
\centering
\includegraphics[width=8cm,height=5cm]{demo}%
\caption{My Picture}
\end{figure}
\end{document}
At the moment I tried this one:
\titlecontents{figure}[2.0cm]{\footnotesize}{\figurename\contentslabel{2.0cm}}{\hspace*{-1.5cm}}{\titlerule*[0.12cm]{.}\contentspage}[\addvspace{6pt}]
... but this always leads to something like:
"1.1 Pict. My Picture ................................ 2"
But - as you might guess - that's not the thing I want. I want a result like:
"Pict. 1.1 My Picture with a long caption that has to
be broken ................................. 2"
Does anyone have a solution for me? Thanks in advance,
eniem
list of figures
. I guess your readers are intelligent enough.listof=entryprefix