summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/biblatex/examples/91-sorting-schemes.tex
blob: 7591fc234cbc88df797f1f77d6a08795ecf5eccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%
% This file presents the 'authoryear' style with different sorting schemes in
% citation lists and the bibliography.
%
\documentclass[a4paper]{article}
\usepackage{fontspec}
\setmainfont{Cambria}
\setsansfont{Arial}
\setmonofont{Courier New}
\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}