I have a problem customizing my bibliography format, I need the citation to be in author/year format which is now displaying correctly, however I need to put square brackets around each citation and a comma in between the author/year.
My citation now is showing as:
Author 1991
Instead I need it to be as follows:
[Author, 1991]
Also in the bibliography page where it shows all the references in the last page, currently it is displaying as follows:
Author (1991)."XX publication". XX publisher, pp. X–X
But I need it to show in two lines adding the citation abbreviation in the first line then the reference in the second, also I need to add the year in the end after the publisher and with no parenthesis. The references must be ordered alphabetically by author name which is showing correctly now. The required format is as follows:
[Author, 1991]
Author."XX publication". XX publisher, 1991, pp. X–X
Here is what I am using currently:
\usepackage[
backend=bibtex,
style=authoryear,
citestyle=authoryear
]{biblatex}
\addbibresource{example.bib}
and for the bibliography page:
\setlength\bibitemsep{2\itemsep}
\printbibliography[heading=bibintoc, title=References, resetnumbers=true]
here is a sample from my "example.bib" file:
@article{11,
author = {Author},
title = {XXX},
journal = {IEEE},
year = {1991}
}
And here is an example of my citation:
\cite{11}
bibtex
as the backend forbiblatex
. Remove that and compile usingbiber
instead. The citation command for the name and date in brackets is\parencite
not\cite
. For the first two questions, use the following:\usepackage[style=ext-authoryear]{biblatex} \DeclareOuterCiteDelims{parencite}{[}{]} \DeclareDelimFormat{nameyeardelim}{\addcomma\space}
The last question is more complex to achieve, and is a very non-standard looking format. – Alan Munn Sep 26 '20 at 18:25