BibTeX, biblatex and biber ⇒ \citet german but want english
-
schaedelkeks
- Posts: 2
- Joined: Tue Apr 21, 2009 7:56 pm
\citet german but want english
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}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\citet german but want english
The localization of the system is unimportant. The relevant language is that given as option to the babel package. The followings works as desired.schaedelkeks wrote:[...] The problem is that the citation comes out in the format "<name> u. a." and not "<name> et al.". [...]
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}Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
schaedelkeks
- Posts: 2
- Joined: Tue Apr 21, 2009 7:56 pm
Re: \citet german but want english
\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.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
\citet german but want english
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10