Created
November 4, 2020 17:02
-
-
Save moewew/d29d6091cc2fbfe02a167c4c2c9da5cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[british]{article} | |
\usepackage[T1]{fontenc} | |
\usepackage{babel} | |
\usepackage{csquotes} | |
\usepackage[backend=biber, style=authoryear]{biblatex} | |
\renewcommand*{\postnotedelim}{\addcolon\space} % add colon after year on \parencite | |
\DeclareFieldFormat{postnote}{#1} %no page prefix when citing | |
\DeclareFieldFormat{multipostnote}{#1} %no page prefix when citing | |
\begin{filecontents}{\jobname.bib} | |
@book{elk, | |
author = {Anne Elk}, | |
title = {A Theory on Brontosauruses}, | |
year = {1972}, | |
publisher = {Monthy \& Co.}, | |
location = {London}, | |
} | |
\end{filecontents} | |
\addbibresource{\jobname.bib} | |
\addbibresource{biblatex-examples.bib} | |
\begin{document} | |
Lorem \parencite[380]{sigfridsson} | |
ipsum \parencite[42]{elk} | |
\printbibliography | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment