Problem mit Anhang
Verfasst: Mi 4. Sep 2013, 14:50
Hallo,
ich habe folgendes Problem. Mein Anhang funktioniert nicht richtig.
1. Er nummeriert ihn nicht durch. Anhang A, A.1, A.2...
2. Die Listings aus dem Anhang erscheinen auch im Listingsverzeichnis (soll aber nicht)
ich habe folgendes Problem. Mein Anhang funktioniert nicht richtig.
1. Er nummeriert ihn nicht durch. Anhang A, A.1, A.2...
2. Die Listings aus dem Anhang erscheinen auch im Listingsverzeichnis (soll aber nicht)
\renewcommand{\thesection}{\Alph{section}} \appendix \addchap{Anhang MySQL} \section{Create Tables Script} \label{sec:a1} \lstset{language = SQL, title=""} \begin{lstlisting} ... \end{lstlisting} \clearpage \section{Insert Into Script} \lstset{language = SQL, title=""} \begin{lstlisting} .... \end{lstlisting}
% define documentclass \documentclass[12pt, bibliography=totoc, a4paper, abstracton, numbers=noenddot,liststotoc]{scrreprt} % define used packages \usepackage[left=4.0cm, right=2.0cm, top=3cm, bottom=3cm]{geometry} \usepackage{bibgerm} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage[ngerman]{babel} \usepackage{lmodern} \usepackage{color} \usepackage{listings} \usepackage[numbers]{natbib} \usepackage{tabularx} \usepackage{here} \usepackage{ragged2e} \usepackage{remreset} \makeatletter \@removefromreset{footnote}{chapter} \makeatother \bibliographystyle{alphadin} \usepackage{lastpage} \usepackage{array} \usepackage{fancyhdr} \usepackage{url} \usepackage[colorlinks=true ,linkcolor=black, anchorcolor=black ,citecolor=black ,filecolor=black, menucolor=black ,urlcolor=black]{hyperref} \usepackage{amsmath, amssymb} \usepackage{subfigure} \input{lststyles} \pagestyle{empty} \setlength{\parindent}{0pt} \setlength{\parskip}{3pt} \pageref{LastPage}} \newcommand{\DATE}[0]{22.01.2013} \newcommand{\low}[1]{\ensuremath{\mathrm{#1}}} \begin{document} \renewcommand{\bibname} {Literaturangaben} \renewcommand\abstractname{Abstract} \pagenumbering{Roman} \input{title} \input{abstract} \input{fancyRegisterPart} \tableofcontents\newpage \pagenumbering{arabic} \input{fancyMainPart} \input{chapter0} \input{chapter1} \input{chapter2} \input{chapter3} \input{chapter4} \input{chapter5} \input{chapter6} \input{chapter7} \input{chapter8} \newpage \input{fancyRegisterPart} \input{titelvorschlaege} \bibliography{quellen} \input{declaration} \listoffigures \listoftables \lstlistoflistings \input{appendix.tex} % end of the document \end{document}