EDIT: I finally found out how to do it:


The code for square brackets is from this thread: Biblatex, author-year, square brackets And the renewcommand changes \cite to have the same properties as \parencite

How do I redefine \cite so that there are brackets [] around it?

\let\[\cite\]=\cite did not work.

It should look like this: text bla bla[John Doe, 1990] bla bla bla text more text Every functionality in \cite should still be there.

I am using Biblatex \usepackage[citestyle=authoryear]{biblatex}

EDIT: In my opinion this is not a duplicate. The mentioned question is similiar but I want to use \cite and NOT \parencite or other types of cite to achieve the following:

Square brackets around the citation and NOT! round brackets as this is the case for \parencite. It has to be the \cite command because I am working with another program which requires the \cite command.

  • I looked into this but it has to be \cite I can not use \parencite – Takeru Apr 22 '13 at 11:12
  • 1
    Add the following to your preamble after loading biblatex: \usepackage{letltxmacro}\LetLtxMacro{\cite}{\parencite} – lockstep Apr 22 '13 at 11:56
  • 1
    If you also want to get the comma between the author and the year, put \renewcommand*{\nameyeardelim}{\addcomma\space} in your preamble. I will delete my answer below, since it was mainly a reference to the duplicate. – anderfo Apr 22 '13 at 12:00
  • ok thank you that almost works. how do i get square brackets? I am sorry that I forgot to mention this ... – Takeru Apr 22 '13 at 12:08
  • 1
    I read it but there he uses \parencite and other types of cite but not \cite which I have to use. I just want \cite to citate like text[John Doe, 2009] with square brackets and not round brackets – Takeru Apr 22 '13 at 12:27