Debian Codegraph @

texmf-dist/doc/latex/biblatex/examples/61-style-authortitle-ibid.tex

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