It seems the solution this time was to simply remove the bibliography from my table of contents, then save and close LyX, then open the document again and reinsert the bibliography, before saving, closing and opening the document once more. I have no idea why it worked, though.
Assuming you want to stick with natbib
-style citation commands and BibTeX and wish to adhere to the current set of formatting guidelines of the APA, you may want to look into (a) loading the apacite
package with the option natbibapa
and (b) specifying apacite
as the bibliography style. Passing the option natbibapa
to the apacite
package ensures that you can continue to use \citet
and \citep
.
Assuming you're also loading the babel
package with the option ngerman
, this setup should give you German-based citation call-outs and bibliography formatting features.
After making these changes, be sure (a) to delete all aux files and (b) rerun LaTeX, BibTeX, and LaTeX twice more so that the changes are propagated fully.
\RequirePackage{filecontents}
%% Set up 3 test entries
\begin{filecontents}{mybib.bib}
@article{a,
author = "Anne Author",
title = "Thoughts",
journal = "Circularity Today",
year = 3001,
volume = 1,
number = 2,
pages = "3--4",
}
@article{b,
author = "Anne Author and Bert Buthor",
title = "Further Thoughts",
journal = "Circularity Today",
year = 3005,
volume = 5,
number = 6,
pages = "7--8",
}
@article{c,
author = "Anne Author and Bert Buthor and Carla Cuthor",
title = "Final Thoughts",
journal = "Circularity Today",
year = 3009,
volume = 9,
number = 10,
pages = "11--12",
}
\end{filecontents}
\documentclass{article}
\usepackage[a4paper,margin=2.5cm]{geometry}
\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[natbibapa]{apacite}
\bibliographystyle{apacite}
\begin{document}
\citet{a}, \citet{b}, \citet{c}
\citep{a}, \citep{b}, \citep{c}
\bibliography{mybib}
\end{document}
Best Answer
apalike
is a monolingual style and only speaks English. The "and" you see in the citation is hard-coded and can't be changed easily on the fly (you can edit the.bst
file to exchange the "and" for something else, even a macro). The styles from thebabelbib
bundle can change the language of the bibliography entries automatically, but the bundle does not come with an equivalent forapalike
. Some styles such as those of theharvard
bundle already use a macro for the and (\harvardand
), which could be redefined when you change languages. But I can't think of a BibTeX style/package that would automatically adapt the citation to the surrounding language.Since you tagged the question with
biblatex
, here is a solution using that package. Note that BibTeX styles such asapalike
are completely incompatible withbiblatex
, so there is some work involved in switching tobiblatex
and you can not continue to useapalike
, you'll have to find a different style. See bibtex vs. biber and biblatex vs. natbib, What to do to switch to biblatex? and Biblatex with Biber: Configuring my editor to avoid undefined citations.I'm not aware of a
biblatex
style that would give the exact same output asapalike
, but you can start from the standardauthoryear
style and modify it as you see fit. There are many questions about that on this site, you can find a good start in Guidelines for customizing biblatex styles.With
biblatex
citations automatically adapt to the surrounding language and soproduces
If you don't like the small caps in the French citations you can disable them with
See also Keep lowercase in biblatex.