arbeit.tex

\documentclass[a4paper]{scrartcl}

\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{blindtext}
\usepackage[square]{natbib}

\renewcommand{\cite}[1]{\citep{#1}}

\title{Mein Dokument mit Literatur}
\author{Julian Fietkau}
\date{5. Januar 1970}

\begin{document}

\section*{Dokument mit Literatur}

\blindtext
\cite{knuth1997,lamport1978}

Dies sehen wir auch bei \citet{lamport1978}.

\renewcommand{\bibpreamble}{Es folgt eine
\emph{vollständige} Liste der verwendeten Literatur.}

\bibliographystyle{natdin}
\bibliography{literatur}

\end{document}

literatur.bib

@book{knuth1997,
  title = {Fundamental Algorithms},
  author = {Donald E. Knuth},
  publisher = {Addison-Wesley Professional},
  series = {The Art of Computer Programming},
  volume = {1},
  year = {1997},
  month = {July},
  edition = {Third},
}

@article{lamport1978,
  author = {Leslie Lamport},
  title = {Time, clocks, and the ordering of events in a
    distributed system},
  journal = {Communications of the ACM},
  volume = {21},
  issue = {7},
  month = {July},
  year = {1978},
  pages = {558--565},
  numpages = {8},
  url = {http://doi.acm.org/10.1145/359545.359563},
  doi = {http://doi.acm.org/10.1145/359545.359563},
  publisher = {ACM},
  address = {New York, NY, USA},
  keywords = {clock synchronization, computer networks,
    distributed systems, multiprocess systems},
}