2

I'm using biblatex for references and citations in my thesis.

\usepackage[backend=biber, style=alphabetic, citestyle=authoryear]{biblatex}

gives me the author name in the text, but I would like to have brackets around it. How would I do that?

1
  • \parencite gives you round brackets (parentheses). If you want square brackets a tad more work is needed. Do you really combine style=alphabetic, citestyle=authoryear,? If there is no other code to combine these two styles the output will be a bit odd.
    – moewe
    Mar 18, 2019 at 10:16

1 Answer 1

3

With (cite)style=authoryear \parencite gives you round brackets (parentheses) by default. It is possible to switch to square brackets as shown in Biblatex, author-year, square brackets. If you use biblatex-ext it is slightly more comfortable to do that with the command \DeclareOuterCiteDelims.

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=ext-authoryear, backend=biber]{biblatex}

\DeclareOuterCiteDelims{parencite}{\bibopenbracket}{\bibclosebracket}

\addbibresource{biblatex-examples.bib}

\begin{document}
\autocite{sigfridsson} -- \parencite{sigfridsson}
\printbibliography
\end{document}

[Sigfridsson and Ryde 1998] – [Sigfridsson and Ryde 1998]

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .