summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes.tex
blob: a00c9eb751dc5b7d07a772c0aee9b58c7d0d9a4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%
% This file presents the 'authoryear' style with different sorting schemes in
% citation lists and the bibliography.
%
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=authoryear,sortcites,sorting=ynt,backend=biber]{biblatex}
\usepackage{hyperref}
\addbibresource{biblatex-examples.bib}
\begin{document}
Filler text \parencite{wassenberg,cicero,companion,angenendt}.
\newrefcontext[sorting=nyt]
\printbibliography
\end{document}