I have started using LaTeX with biblatex to format my dissertation. I need my citation to look something like: (johnson, 2010:29), which is (author, year:page).
Then there are some citations that I have to make look like (Xenophon, Hellenica 7.6.2), which is (author, italicized book, section).
Is it possible to modify \autocite
to work like this? If so… where do I start? Which file do I have to modify?
Best Answer
Your author-year citation command can be obtained using the
authoryear
style and some minor edits tonameyeardelim
and thepostnote
format. A variant of this using the title in place of the year can easily be defined using the\AtNextCite
hook.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
andautocite=footnote
.To further customize the citation label for a specific entry, you can make use of the
shorthand
andlabel
fields in your bib file. In the sample document, the entry by Kant goes by the shorthand "KpV". This overrides bothlabelname
andlabelyear
+extrayear
. The Chicago Manual of Style has the label "CMS". It overrides onlylabelname
.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.