Skip to content

Instantly share code, notes, and snippets.

@jsun969
Last active March 30, 2024 04:27
Show Gist options
  • Save jsun969/af6ff137d2eb223f79301d38ccfda9ed to your computer and use it in GitHub Desktop.
Save jsun969/af6ff137d2eb223f79301d38ccfda9ed to your computer and use it in GitHub Desktop.
Harvard UofA reference (by Cubic Nyan)
\documentclass[]{whatever}
\usepackage[backend=biber,citestyle=authoryear,style=authoryear,sorting=nyvt,maxnames=1,maxbibnames=99]{biblatex}
\usepackage[style=british]{csquotes} % biblatex quote styling
\usepackage{xpatch}
\usepackage{sectsty}
\usepackage{times}
...
\begin{document}
...
\newpage
\setquotestyle{british}
\renewcommand*{\newunitpunct}{\addcomma\space}
\xpatchbibmacro{date+extradate}{%
\printtext[parens]%
}{%
\setunit{\addperiod\space}%
\printtext%
}{}{}
\printbibliography
...
\end{document}
% From Cubic Nyan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment