Debian Codegraph @

texmf-dist/doc/latex/biblatex/examples/63-style-authortitle-icomp.tex

raw
1 %
2 % This file presents the 'authortitle-icomp' 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-icomp,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-icomp} style}
18
19 This style combines the features of \texttt{authortitle-ibid} and
20 \texttt{authortitle-comp}. It will implicitly enable the
21 \texttt{sortcites} package option at load time. This style is
22 intended for citations given in footnotes.
23
24 \subsection*{Additional package options}
25
26 \subsubsection*{The \texttt{ibidpage} option}
27
28 The scholarly abbreviation \emph{ibidem} is sometimes taken to mean
29 both `same author~+ same title' and `same author~+ same title~+ same
30 page' in traditional citation schemes. By default, this is not the
31 case with this style because it may lead to ambiguous citations.
32 With \texttt{ibidpage=true} a page range postnote will be suppressed
33 in an \emph{ibidem} citation if the last citation was to the same
34 page range. With \texttt{ibidpage=false} the postnote is not omitted.
35 Citations to different page ranges than the previous always produce
36 the page ranges with either setting.
37 The default setting is \texttt{ibidpage=false}.
38
39 Consider the following example citations
40 \begin{verbatim}
41 \cite[12]{cicero}
42 \cite[12]{cicero}
43 \cite[12]{worman}
44 \cite[13]{worman}
45 \end{verbatim}
46 %
47 If \texttt{ibidpage} is set to \texttt{true}, the citations
48 come out as
49 \begin{quote}
50 Cicero, \emph{De natura deorum,} p.~12
51
52 ibid.
53
54 Worman, \emph{The Cast of Character,} p.~12
55
56 ibid., p.~13
57 \end{quote}
58 %
59 The result for \texttt{ibidpage=false} is
60 \begin{quote}
61 Cicero, \emph{De natura deorum,} p.~12
62
63 ibid., p.~12
64
65 Worman, \emph{The Cast of Character,} p.~12
66
67 ibid., p.~13
68 \end{quote}
69
70 \subsubsection*{The \texttt{dashed} option}
71
72 By default, this style replaces recurrent authors/editors in the
73 bibliography by a dash so that items by the same author or editor
74 are visually grouped. This feature is controlled by the package
75 option \texttt{dashed}. Setting \texttt{dashed=false} in the
76 preamble will disable this feature. The default setting is
77 \texttt{dashed=true}.
78
79 \subsection*{Hints}
80
81 If you want terms such as \emph{ibidem} to be printed in italics,
82 redefine \cmd{mkibid} as follows:
83
84 \begin{verbatim}
85 \renewcommand*{\mkibid}{\emph}
86 \end{verbatim}
87
88 \subsection*{\cmd{footcite} examples}
89
90 This is just filler text.\footcite{aristotle:rhetoric,averroes/bland,aristotle:physics,aristotle:poetics}
91 This is just filler text.\footcite{aristotle:rhetoric}
92 This is just filler text.\footcite{aristotle:rhetoric}
93
94 \clearpage
95 \printbibliography
96
97 \end{document}