BibTeX, biblatex and biber\citet german but want english

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
schaedelkeks
Posts: 2
Joined: Tue Apr 21, 2009 7:56 pm

\citet german but want english

Post by schaedelkeks »

Hi,

i have a problem using \citet{}.

The problem is that the citation comes out in the format "<name> u. a." and not "<name> et al.".

I'm writing the document on a computer with german locale but in my latex headers i have "\usepackage[USenglish]{babel}". As far as i know that is the only command to the set the language of the document.

The other header commands are:

\documentclass[a4paper,oneside,12pt]{scrreprt}

\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage{listings}
\usepackage{multicol}
\usepackage{subfigure}
\usepackage{fancyvrb}
\usepackage{pstricks}
\usepackage{varioref}
\usepackage{expdlist}
\usepackage{scrpage2}
\usepackage{url}
\usepackage{pdfsync}
\usepackage{longtable}
\usepackage[numbers]{natbib}
\usepackage{bnf}
\usepackage[miktex,noshell]{dot2texi}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\usepackage{lmodern}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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

\citet german but want english

Post by localghost »

schaedelkeks wrote:[...] The problem is that the citation comes out in the format "<name> u. a." and not "<name> et al.". [...]
The localization of the system is unimportant. The relevant language is that given as option to the babel package. The followings works as desired.

Code: Select all

\begin{filecontents*}{xmpl.bib}
@article{menzel2006,
  title={{M}agnetic properties under pressure and \textsc{Raman} investigations of \ce{Fe_{x}Co_{1-x}Si} single crystals},
  author={{D}.~{M}enzel and {M}.~{F}inke and {T}.~Donig and {A}.-{M}.~Racu and {J}.~{S}choenes},
  institution={{I}nstitut für {P}hysik der {K}ondensierten {M}aterie, {T}echnische {U}niversität {B}raunschweig, {D}-38106 {B}raunschweig, {G}ermany},
  journal={{P}hysica {B}: {P}hysics of {C}ondensed {M}atter},
  volume={378},
  pages={718-719},
  publisher={ELSEVIER}
}\end{filecontents*}
\documentclass[12pt]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[USenglish]{babel}
\usepackage[version=3]{mhchem}
\usepackage[automark]{scrpage2}
\usepackage[numbers]{natbib}

\begin{document}
  \citet{menzel2006}
  \bibliographystyle{abbrnat}
  \bibliography{xmpl}
\end{document}
Reduce the problematic code to a minimal working example (MWE) to give us something we can tinker with.


Best regards and welcome to the board
Thorsten¹
schaedelkeks
Posts: 2
Joined: Tue Apr 21, 2009 7:56 pm

Re: \citet german but want english

Post by schaedelkeks »

I found the problem, it was

\bibliographystyle{natdin},

after i changed this to

\bibliographystyle{plainnat}

it now works correctly. I suppose this changes somehow the bibliography is displayed but both of the them look fine for me.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

\citet german but want english

Post by localghost »

The natdin style works also for me and yields the desired result for citations. Hence this can't be the cause. The only difference is the display of author names in the bibliography. But it's more important that it works for you.
Post Reply