Skip to content

Instantly share code, notes, and snippets.

@moewew
Created September 1, 2020 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moewew/3e42e5568da2e84702bb388db8d83cd8 to your computer and use it in GitHub Desktop.
Save moewew/3e42e5568da2e84702bb388db8d83cd8 to your computer and use it in GitHub Desktop.
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber,
style=authoryear,
sorting=ynt, sortcites=true,
uniquelist=false,uniquename=false,
maxcitenames=2,maxbibnames=99,minnames=1,
dashed=false,
]{biblatex}
\renewbibmacro{in:}{}
\begin{filecontents}{\jobname.bib}
@book{carr2007surface,
title={The surface of Mars},
author={Carr, Michael H.},
volume={6},
year={2007},
ISBN={9781108462754},
publisher={Cambridge University Press},
location={United States Geological Survey, Menlo Park},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{sigfridsson,carr2007surface}
\begin{refcontext}[sorting=nyt]
\printbibliography
\end{refcontext}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment