BibTeX, biblatex and biberPlainnat bib-style

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
mosse14
Posts: 1
Joined: Sat Jun 26, 2010 11:58 am

Plainnat bib-style

Post by mosse14 »

Hei

My professor has a quite strange idea of referencing: She wants a reference to look the following way:
Author (Year). ...
How can I change the .bst-file to show the year in brackets?
And further on: this file is a style that shows the german 'und' instead of 'and'. How can I change this?

regards

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Plainnat bib-style

Post by localghost »

mosse14 wrote:[...] My professor has a quite strange idea of referencing: She wants a reference to look the following way: Author (Year). [...] And further on: this file is a style that shows the german 'und' instead of 'and'. How can I change this? [...]
It's not so unusual as you might think. The natbib package offers several options. I have no problem with the code below. If it doesn't work for you, it's your turn to show the opposite by a minimal working example (MWE).

Code: Select all

\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[round]{natbib}
\usepackage{filecontents}

\begin{filecontents*}{\jobname.bib}
@BOOK{knuth84,
  author={Donald Ervin Knuth},
  title={The \TeX book},
  year={1984},
  publisher={Addison-Wesley}
}
@BOOK{lamport94,
  author={Leslie Lamport},
  title={\LaTeX\ - A Document Preparation System},
  note={User's Guide and Reference Manual},
  year={1994},
  publisher={Addison-Wesley},
  edition={Second}
}
@BOOK{mitgoo04,
  author={Frank Mittelbach and Michel Goossens},
  title={The \LaTeX\ Companion},
  year={2004},
  publisher={Addison-Wesley},
  edition={Second}
}
@BOOK{goomit07,
  author={Michel Goossens and Frank Mittelbach and Sebastian Rahtz and Denis Roegel and Herbert Voss},
  title={The \LaTeX\ Graphics Companion},
  year={2007},
  publisher={Addison-Wesley},
  edition={Second}
}
\end{filecontents*}

\begin{document}
  First reference: \cite{knuth84}
  
  Second reference: \cite{lamport94}

  Third reference: \cite{mitgoo04}

  Fourth reference: \cite{goomit07}
  \bibliographystyle{plainnat}
  \bibliography{\jobname}
\end{document}
For further information about the involved packages refer to their manual either on CTAN or via command prompt on your local machine.

Code: Select all

texdoc natbib
The filecontents package has only been used to enhance the standard »filecontents« environment thus is not part of the solution.


Best regards and welcome to the board
Thorsten
Post Reply