von Xenara » Do 10. Jan 2013, 19:54
Den bibliographystyle "natbib" gibt es nicht. Es gibt nur das Paket natbib, welches die bibliographystyles plainnat.bst, abbrvnat.bst und unsrtnat.bst mitbringt (natbib-Doku* Seite 5).
Du musst es also so einbinden:
\documentclass[12pt,oneside,a4paper,titlepage]{scrreprt}
\usepackage{filecontents}
\begin{filecontents}{literatur.bib}
@Book{sapmat,
author = {Autor},
title = {Titel},
publisher = {Verlag},
year = {2222},
}
\end{filecontents}
\usepackage[numbers,round]{natbib}
\usepackage[autostyle,german=quotes,style=german]{csquotes}
% Wähle deinen Stil:
%plainnat
%abbrvnat
%unsrtnat
\bibliographystyle{plainnat}
\begin{document}
% Literaturverzeichnis
\newpage
\addcontentsline{toc}{chapter}{Literaturverzeichnis}
%\nocite{*}
\bibliography{literatur}
Test12345 \citet[S.120]{sapmat}
\end{document}
*Die Doku bekommst du ganz einfach über die Kommandozeile und "texdoc natbib". Also Shell/Eingabeaufforderung/Command Prompt aufrufen (WinXP: Programme -> Zubehör -> Eingabeaufforderung) und dort den Befehl "texdoc" gefolgt vom Paketnamen eintippen, es öffnet sich automatisch das PDF.
Den bibliographystyle "natbib" gibt es nicht. Es gibt nur das Paket natbib, welches die bibliographystyles plainnat.bst, abbrvnat.bst und unsrtnat.bst mitbringt (natbib-Doku* Seite 5).
Du musst es also so einbinden:
[code]\documentclass[12pt,oneside,a4paper,titlepage]{scrreprt}
\usepackage{filecontents}
\begin{filecontents}{literatur.bib}
@Book{sapmat,
author = {Autor},
title = {Titel},
publisher = {Verlag},
year = {2222},
}
\end{filecontents}
\usepackage[numbers,round]{natbib}
\usepackage[autostyle,german=quotes,style=german]{csquotes}
% Wähle deinen Stil:
%plainnat
%abbrvnat
%unsrtnat
\bibliographystyle{plainnat}
\begin{document}
% Literaturverzeichnis
\newpage
\addcontentsline{toc}{chapter}{Literaturverzeichnis}
%\nocite{*}
\bibliography{literatur}
Test12345 \citet[S.120]{sapmat}
\end{document}
[/code]
*Die Doku bekommst du ganz einfach über die Kommandozeile und "texdoc natbib". Also Shell/Eingabeaufforderung/Command Prompt aufrufen (WinXP: Programme -> Zubehör -> Eingabeaufforderung) und dort den Befehl "texdoc" gefolgt vom Paketnamen eintippen, es öffnet sich automatisch das PDF.