What style should I use to make the citations rendering as (Einstein, 1915)? Using biblatex on Overleaf
- 133
1 Answers
For real APA citations you want to use the package biblatex-apa (7th-edition APA style) or biblatex-apa6 (6th-edition APA style).
With biblatex-apa use style=apa,. With biblatex-apa6 you'd use style=apa6, in the example below.
\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=apa]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{sigfridsson}
ipsum \parencite{worman}
It was shown by \textcite{nussbaum} that
\printbibliography
\end{document}
If you just want author-year citations and not necessarily all that APA style entails (some people call this class of styles "Harvard style"), you can use the standard authoryear style and customise it to your liking (Guidelines for customizing biblatex styles).
\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=authoryear]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{sigfridsson}
ipsum \parencite{worman}
It was shown by \textcite{nussbaum} that
\printbibliography
\end{document}
Independent of the exact details of the style, most biblatex styles print citations in parentheses if you use \parencite. Often it is preferable to use \autocite and configure it to produce citations in parentheses (this is usually the default for author-year styles).
Apart from \autocite and \parencite many biblatex styles define \textcite, which comes in handy in case you want to mention the author in your sentence.
- 175,683


biblatex-apabut in your example you're using justbiblatex. Also, if I use\usepackage[backend=biber, style=apa]{biblatex}citations appear without parentheses, i.e. Einstein, 1915 instead of (Einstein, 1015). Not working with\parencitealso – Federico Taschin Jan 22 '21 at 12:03biblatex-apais the name of the "bundle" that provides the APA style forbiblatexthat you can use with\usepackage[backend=biber, style=apa]{biblatex}. As you can see in the screenshot both\parenciteand\autociteproduce parentheses for me withstyle=apa,. If that is not the case for you, please post a minimal working example that reproduces the incorrect behaviour (https://tex.meta.stackexchange.com/q/228/35864). – moewe Jan 22 '21 at 12:43