Bilbo
03-01-2009, 17:18
Hallo,
ich habe ein Darstellungsproblem mit natbib, wenn es mehrere Autoren gibt. Statt [Mustermann et al., 2003] erscheint bei mir [Mustermann and Becker, 2003], wenn ich \citep{} benutze. Laut Anleitung müsste es aber [Mustermann et al., 2003] sein.
\documentclass[%
final,
22pt,
xcolor={table,dvipsnames},
show notes,
]{beamer}[2007/03/11]
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
\usepackage{helvet}
\usepackage{natbib}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{acronym}
\usepackage{array}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[%per=slash,
decimalsymbol=comma,
loctolang={DE:ngerman,UK:english},
]{siunitx}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepackage{multimedia}
\usepackage{colortbl}
\usepackage{lscape}
\usepackage{pdflscape}
\usepackage[margin=10pt,format=plain,labelsep=endash]{caption}
\captionsetup{font=scriptsize}
\captionsetup[figure]{labelfont=bf,textfont=it}
\usepackage{hyperref}
\usepackage{url}
\usepackage{pgfpages}
\usepackage{etex}
\reserveinserts{30}
\def\newblock{\hskip .11em plus .33em minus .07em}
\usetheme{default}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{items}[ball]
\setbeamertemplate{itemize items}[ball]
\setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamertemplate{bibliography item}[text]
\setbeamertemplate{enumerate items}[ball]
\setbeamercovered{transparent=25}
\hypersetup{linktocpage=true, colorlinks=true, breaklinks=true, linkcolor=black, menucolor=black, urlcolor=blue, citecolor=black}
\urlstyle{same}
\newcommand{\bibfont}{\scriptsize}
\bibliographystyle{plainnat}
\begin{document}
\title[test]{test}
\author[Max Mustermann]{Max Mustermann}
\date{\today}
{
\begin{frame}[plain]
\titlepage
\end{frame}
}
\begin{frame}
\citep{mustermann2004}
\citep{mustermann2003}
\end{frame}
\begin{frame}
\frametitle{Literatur}
\bibliography{lit}
\end{frame}
\end{document}
lit.bib
@ARTICLE{mustermann2004,
author = {Mustermann, M.},
title = {Why is it not working?},
journal = {Nature},
year = {2004},
volume = {12},
number = {4},
month = {June},
pages = {56--67},
}
@ARTICLE{mustermann2003,
author = {Mustermann, M. AND Becker, G.},
title = {Why is it still not working?},
journal = {Nature},
year = {2003},
volume = {4},
number = {1},
month = {July},
pages = {788--798},
}
ich habe ein Darstellungsproblem mit natbib, wenn es mehrere Autoren gibt. Statt [Mustermann et al., 2003] erscheint bei mir [Mustermann and Becker, 2003], wenn ich \citep{} benutze. Laut Anleitung müsste es aber [Mustermann et al., 2003] sein.
\documentclass[%
final,
22pt,
xcolor={table,dvipsnames},
show notes,
]{beamer}[2007/03/11]
\usepackage[ngerman]{babel}
\usepackage[latin1]{inputenc}
\usepackage{helvet}
\usepackage{natbib}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{acronym}
\usepackage{array}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[%per=slash,
decimalsymbol=comma,
loctolang={DE:ngerman,UK:english},
]{siunitx}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\usepackage{multimedia}
\usepackage{colortbl}
\usepackage{lscape}
\usepackage{pdflscape}
\usepackage[margin=10pt,format=plain,labelsep=endash]{caption}
\captionsetup{font=scriptsize}
\captionsetup[figure]{labelfont=bf,textfont=it}
\usepackage{hyperref}
\usepackage{url}
\usepackage{pgfpages}
\usepackage{etex}
\reserveinserts{30}
\def\newblock{\hskip .11em plus .33em minus .07em}
\usetheme{default}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{items}[ball]
\setbeamertemplate{itemize items}[ball]
\setbeamertemplate{blocks}[rounded][shadow=true]
\setbeamertemplate{bibliography item}[text]
\setbeamertemplate{enumerate items}[ball]
\setbeamercovered{transparent=25}
\hypersetup{linktocpage=true, colorlinks=true, breaklinks=true, linkcolor=black, menucolor=black, urlcolor=blue, citecolor=black}
\urlstyle{same}
\newcommand{\bibfont}{\scriptsize}
\bibliographystyle{plainnat}
\begin{document}
\title[test]{test}
\author[Max Mustermann]{Max Mustermann}
\date{\today}
{
\begin{frame}[plain]
\titlepage
\end{frame}
}
\begin{frame}
\citep{mustermann2004}
\citep{mustermann2003}
\end{frame}
\begin{frame}
\frametitle{Literatur}
\bibliography{lit}
\end{frame}
\end{document}
lit.bib
@ARTICLE{mustermann2004,
author = {Mustermann, M.},
title = {Why is it not working?},
journal = {Nature},
year = {2004},
volume = {12},
number = {4},
month = {June},
pages = {56--67},
}
@ARTICLE{mustermann2003,
author = {Mustermann, M. AND Becker, G.},
title = {Why is it still not working?},
journal = {Nature},
year = {2003},
volume = {4},
number = {1},
month = {July},
pages = {788--798},
}