PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem mit Abbildungs- und Tabellenverzeichnis



Sonnentropfen
10-06-2015, 15:38
Hallo zusammen,

Ich habe bei meiner Diplomarbeit mit den Befehlen
\listoffigures und
\listoftables
beide Verzeichnisse eingebunden. Allerdings hab ich die Vorgabe, dass die Verzeichnisse nicht so aussehen sollen:
1. Beschreibung .....Seitenzahl

sondern so:
Abbildung 1 Beschreibung........Seitenzahl

In einem Anderen Forum habe ich dafür folgende Befehle gefunden:

\usepackage{tocloft}
\renewcommand{\cfttabpresnum}{Tabelle \quad}
\renewcommand{\cftfigpresnum}{Abbildung \quad}
\settowidth{\cfttabnumwidth}{Tabelle \quad\quad\quad}
\settowidth{\cftfignumwidth}{Abbildung\quad\quad\q uad}

Das funktioniert auch gut. Allerdings scheint es mir meine Befehle zu zerschießen, die vorher dafür gesorgt hatten, dass die Tabellen und Abbildungen im Anhang nicht mit aufgeführt werden.

\addtocontents{lot}{\protect\value{tocdepth}=0\rel ax}
\addtocontents{lof}{\protect\value{tocdepth}=0\rel ax}

Vielleicht weiß jemand von euch eine Lösung mit der Beides zusammen erreicht werden kann ?!?


\documentclass[12pt, a4paper]{scrartcl}

\usepackage{xcolor}
\stepcounter{secnumdepth} % fügt vierte Ebene paragraph ins Inhaltsverzeichnis ein

\usepackage[automark, headsepline, footsepline, plainfootsepline]{scrpage2}
\pagestyle{scrheadings}
\clearscrheadfoot
\automark[section]{chapter}
\ihead[]{\headmark}
\ohead[]{\pagemark}
\setkomafont{pageheadfoot}{\small\color{gray}}
\setkomafont{pagenumber}{\small\color{gray}}
\setheadsepline{1pt}[\color{gray}]
%\setheadsepline{0pt}
\setfootsepline{0pt}
\setheadwidth[0pt]{16cm}


\usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm, headsep=1cm]{geometry}
\setlength{\parindent}{0pt}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\usepackage{amsmath}
%\usepackage[latin1]{inputenc}
\usepackage{ucs}
\usepackage{graphicx,lipsum,tabularx,sistyle}
\SIstyle{German}
\usepackage{enumerate}
\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}

\usepackage{textgreek}
\usepackage{adjmulticol}
\usepackage{setspace}
\usepackage{apacite}
\usepackage[format=plain,margin=10pt,font=small,labelfont=bf]{caption}

\setlength{\parindent}{35pt}
\bibliographystyle{apacite}
\renewcommand\bibliographytypesize{\footnotesize}
\usepackage[demo]{graphicx}
\usepackage{tocloft}
\renewcommand{\cfttabpresnum}{Tabelle \quad}
\renewcommand{\cftfigpresnum}{Abbildung \quad}
\settowidth{\cfttabnumwidth}{Tabelle \quad\quad\quad}
\settowidth{\cftfignumwidth}{Abbildung\quad\quad\q uad}

\begin{document}
\listoffigures
\chapter{Eins}
\begin{figure}[htb] \centering
\includegraphics[width=1\linewidth]{Abb1f}
\caption{Relative Preisentwicklung der LME-Metalle}
\label{fig:abb1}
\end{figure}
\chapter{Zwei}
\begin{figure}[htb] \centering
\includegraphics[width=1\linewidth]{Abb1f}
\caption{Relative Preisentwicklung der LME-Metalle}
\label{fig:abb2}
\end{figure}
\end{document}

\section*{Anhang}
\addtocontents{lot}{\protect\value{tocdepth}=0\rel ax}
\addtocontents{lof}{\protect\value{tocdepth}=0\rel ax}

\end{document}

Johannes_B
10-06-2015, 19:50
Das ist ein Crosspost zu goLaTeX (http://golatex.de/viewtopic,p,72445.html#72445).

Sonnentropfen
10-06-2015, 20:00
Hab in einem anderen Forum Hilfe erhalten. Hat sich also erledigt.

The EYE
11-06-2015, 07:50
Und die Lösung möchtest du uns hier vorenthalten?

Gruß Max