Your author-year citation command can be obtained using the authoryear
style and some minor edits to nameyeardelim
and the postnote
format. A variant of this using the title in place of the year can easily be defined using the \AtNextCite
hook.
\documentclass{report}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=authoryear]{biblatex}
\usepackage[colorlinks]{hyperref}
\renewcommand*{\nameyeardelim}{\nametitledelim}
\renewcommand*{\postnotedelim}{\addcolon}
\DeclareFieldFormat{postnote}{#1}
\newrobustcmd*{\citehook}{%
\AtNextCite{%
\renewcommand*{\postnotedelim}{\addspace}%
\renewbibmacro*{cite:labelyear+extrayear}{%
\iffieldundef{label}
{\printtext[bibhyperref]{\printfield[citetitle]{labeltitle}}}
{}}}}
\newrobustcmd*{\autocitetitle}{\citehook\autocite}
\newrobustcmd*{\autocitetitles}{\citehook\autocites}
\addbibresource{biblatex-examples.bib}
\begin{document}
\null\vfill
Filler text \autocite[See][10--15]{aristotle:poetics}.
Filler text \autocitetitle[See][7.6.2]{aristotle:poetics}.
Filler text \autocite{aristotle:poetics,aristotle:rhetoric,kant:kpv,cms}.
Filler text \autocites[10--15]{aristotle:poetics}[25]{aristotle:rhetoric}.
Filler text \autocitetitle{aristotle:poetics,aristotle:rhetoric,kant:kpv,cms}.
Filler text \autocitetitles[7.6.2]{aristotle:poetics}{aristotle:rhetoric}.
\printbibliography
\end{document}
An advantage of this approach is that it works for any of the author-year styles. Here's the citation output of the same document using the package options style=authoryear-icomp
and autocite=footnote
.
To further customize the citation label for a specific entry, you can make use of the shorthand
and label
fields in your bib file. In the sample document, the entry by Kant goes by the shorthand "KpV". This overrides both labelname
and labelyear
+extrayear
. The Chicago Manual of Style has the label "CMS". It overrides only labelname
.
All of the citation style changes can be incorporated into \autocite
, but you'll have to provide some details on which entries need to be cited with titles. These can be distinguished through criteria specified on existing bibliographic data or through a category defined in your document preamble or bib file.
Best Answer
There is NO CSE Name-Year
biblatex
style package yet. But I am trying to work on it. Pardon me for the ugly code. If you have some suggestions, please tell me so that I can learn from you, or better yet, improve the code yourself.I have several hesitations in answering this question since it happens to be too broad. Perhaps that is partly because this being my first question, I did not know how to ask. I have borrowed answers from several posts, notably:
And here is the
biblatex.cfg
file.There is also a
biblatex-dm.cfg
file:Now, I know that this answer complicates things since this question requires that the answer duplicates other answers in the site. However, I believe that prospective users of this style can benefit directly by copying the above codes and modifying at their will. And so I am also making this answer CW.
I have discussed this answer with Joseph Wright at chat some time ago and I am currently working to make this into a
biblatex
style package.