Debian Codegraph @

texmf-dist/doc/latex/biblatex/examples/62-style-authortitle-comp.tex

raw
1 %
2 % This file presents the 'authortitle-comp' style
3 %
4 \documentclass[a4paper]{article}
5 \usepackage[T1]{fontenc}
6 \usepackage[utf8]{inputenc}
7 \usepackage[american]{babel}
8 \usepackage{csquotes}
9 \usepackage[style=authortitle-comp,backend=biber]{biblatex}
10 \usepackage{hyperref}
11 \addbibresource{biblatex-examples.bib}
12 % Some generic settings:
13 \newcommand{\cmd}[1]{\texttt{\textbackslash #1}}
14 \setlength{\parindent}{0pt}
15 \begin{document}
16
17 \section*{The \texttt{authortitle-comp} style}
18
19 This style is a compact version of the \texttt{authortitle} style
20 which prints the author only once if subsequent references passed to
21 a single citation command share the same author. This style will
22 implicitly enable the \texttt{sortcites} package option at load
23 time.
24
25 \subsection*{Additional package options}
26
27 \subsubsection*{The \texttt{dashed} option}
28
29 By default, this style replaces recurrent authors/editors in the
30 bibliography by a dash so that items by the same author or editor
31 are visually grouped. This feature is controlled by the package
32 option \texttt{dashed}. Setting \texttt{dashed=false} in the
33 preamble will disable this feature. The default setting is
34 \texttt{dashed=true}.
35
36 \subsection*{Multiple citations}
37
38 \cite{aristotle:rhetoric,averroes/bland,aristotle:physics,aristotle:poetics}
39
40 \clearpage
41 \printbibliography
42
43 \end{document}