| 1 |
% |
| 2 |
% This file presents the 'authoryear-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=authoryear-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 |
\newenvironment{bibsample} |
| 16 |
{\trivlist\samepage |
| 17 |
\setlength{\itemsep}{0pt}} |
| 18 |
{\endtrivlist} |
| 19 |
\begin{document} |
| 20 |
|
| 21 |
\section*{The \texttt{authoryear-icomp} style} |
| 22 |
|
| 23 |
This style combines the features of \texttt{authoryear-ibid} and |
| 24 |
\texttt{authoryear-comp}. It will implicitly enable the |
| 25 |
\texttt{sortcites} package option at load time. This style is |
| 26 |
intended for citations given in footnotes. |
| 27 |
|
| 28 |
\subsection*{Additional package options} |
| 29 |
|
| 30 |
\subsubsection*{The \texttt{ibidpage} option} |
| 31 |
|
| 32 |
The scholarly abbreviation \emph{ibidem} is sometimes taken to mean |
| 33 |
both `same author~+ same title' and `same author~+ same title~+ same |
| 34 |
page' in traditional citation schemes. By default, this is not the |
| 35 |
case with this style because it may lead to ambiguous citations. |
| 36 |
With \texttt{ibidpage=true} a page range postnote will be suppressed |
| 37 |
in an \emph{ibidem} citation if the last citation was to the same |
| 38 |
page range. With \texttt{ibidpage=false} the postnote is not omitted. |
| 39 |
Citations to different page ranges than the previous always produce |
| 40 |
the page ranges with either setting. |
| 41 |
The default setting is \texttt{ibidpage=false}. |
| 42 |
|
| 43 |
Consider the following example citations |
| 44 |
\begin{verbatim} |
| 45 |
\cite[378]{sigfridsson} |
| 46 |
\cite[378]{sigfridsson} |
| 47 |
\cite[12]{worman} |
| 48 |
\cite[13]{worman} |
| 49 |
\end{verbatim} |
| 50 |
% |
| 51 |
If \texttt{ibidpage} is set to \texttt{true}, the citations |
| 52 |
come out as |
| 53 |
\begin{quote} |
| 54 |
Sigfridsson and Ryde 1998, p.~378 |
| 55 |
|
| 56 |
ibid. |
| 57 |
|
| 58 |
Worman 2002, p.~12 |
| 59 |
|
| 60 |
ibid., p.~13 |
| 61 |
\end{quote} |
| 62 |
% |
| 63 |
The result for \texttt{ibidpage=false} is |
| 64 |
\begin{quote} |
| 65 |
Sigfridsson and Ryde 1998, p.~378 |
| 66 |
|
| 67 |
ibid., p.~378 |
| 68 |
|
| 69 |
Worman 2002, p.~12 |
| 70 |
|
| 71 |
ibid., p.~13 |
| 72 |
\end{quote} |
| 73 |
|
| 74 |
\subsubsection*{The \texttt{dashed} option} |
| 75 |
|
| 76 |
By default, this style replaces recurrent authors/editors in the |
| 77 |
bibliography by a dash so that items by the same author or editor |
| 78 |
are visually grouped. This feature is controlled by the package |
| 79 |
option \texttt{dashed}. Setting \texttt{dashed=false} in the |
| 80 |
preamble will disable this feature. The default setting is |
| 81 |
\texttt{dashed=true}. |
| 82 |
|
| 83 |
\subsubsection*{The \texttt{mergedate} option} |
| 84 |
|
| 85 |
Since this style prints the date label after the author/editor in the |
| 86 |
bibliography, there are effectively two dates in the bibliography: |
| 87 |
the full date specification (e.g., \enquote{2001}, \enquote{June |
| 88 |
2006}, \enquote{5th~Jan. 2008}, whose format is controlled by the |
| 89 |
\texttt{date} option) and the date label (e.g., \enquote{2006a}, |
| 90 |
whose format is controlled with the \texttt{labeldate} option), |
| 91 |
as found in citations. The \texttt{mergedate} option controls whether |
| 92 |
or not date specifications are merged with the date label. |
| 93 |
This option is best explained by example. Note that |
| 94 |
it only affects the bibliography. Citations use the date label only. |
| 95 |
|
| 96 |
\begin{bibsample} |
| 97 |
\item Doe 2000 |
| 98 |
\item Doe 2003a |
| 99 |
\item Doe 2003b |
| 100 |
\item Doe 2006a |
| 101 |
\item Doe 2006b |
| 102 |
\item Doe 2017 |
| 103 |
\end{bibsample} |
| 104 |
|
| 105 |
\texttt{mergedate=false} strictly separates the date specification |
| 106 |
(following \texttt{date}) from the date label (following \texttt{labeldate}). |
| 107 |
The year will always be printed twice: |
| 108 |
|
| 109 |
\begin{bibsample} |
| 110 |
\item Doe, John (2000). \emph{Book~1}. Location: Publisher, 2000. |
| 111 |
\item Doe, John (2003a). \emph{Book~2}. Location: Publisher, 2003. |
| 112 |
\item Doe, John (2003b). \emph{Book~3}. Location: Publisher, 2003. |
| 113 |
\item Doe, John (2006a). \enquote{Article~1}. In: \emph{Monthly Journal} 25.6 |
| 114 |
(June~2006), pp.~70--85. |
| 115 |
\item Doe, John (2006b). \enquote{Article~2}. In: \emph{Quarterly Journal} 14.3 |
| 116 |
(Fall~2006), pp.~5--25. |
| 117 |
\item Doe, John (2017). \emph{Webpage}. 7th Aug. 2017. |
| 118 |
\end{bibsample} |
| 119 |
|
| 120 |
\texttt{mergedate=minimum} omits the date whenever the full date |
| 121 |
and the date label have exactly the same precision (date-time granularity). |
| 122 |
|
| 123 |
\begin{bibsample} |
| 124 |
\item Doe, John (2000). \emph{Book~1}. Location: Publisher. |
| 125 |
\item Doe, John (2003a). \emph{Book~2}. Location: Publisher, 2003. |
| 126 |
\item Doe, John (2003b). \emph{Book~3}. Location: Publisher, 2003. |
| 127 |
\item Doe, John (2006a). \enquote{Article~1}. In: \emph{Monthly Journal} 25.6 |
| 128 |
(June~2006), pp.~70--85. |
| 129 |
\item Doe, John (2006b). \enquote{Article~2}. In: \emph{Quarterly Journal} 14.3 |
| 130 |
(Fall~2006), pp.~5--25. |
| 131 |
\item Doe, John (2017). \emph{Webpage}. 7th Aug. 2017. |
| 132 |
\end{bibsample} |
| 133 |
|
| 134 |
\texttt{mergedate=basic} is similar in concept but more economical. |
| 135 |
It will also omit the date if it differs from the date label only by |
| 136 |
\texttt{extradate}. |
| 137 |
|
| 138 |
\begin{bibsample} |
| 139 |
\item Doe, John (2000). \emph{Book~1}. Location: Publisher. |
| 140 |
\item Doe, John (2003a). \emph{Book~2}. Location: Publisher. |
| 141 |
\item Doe, John (2003b). \emph{Book~3}. Location: Publisher. |
| 142 |
\item Doe, John (2006a). \enquote{Article~1}. In: \emph{Monthly Journal} 25.6 |
| 143 |
(June~2006), pp.~70--85. |
| 144 |
\item Doe, John (2006b). \enquote{Article~2}. In: \emph{Quarterly Journal} 14.3 |
| 145 |
(Fall~2006), pp.~5--25. |
| 146 |
\item Doe, John (2017). \emph{Webpage}. 7th Aug. 2017. |
| 147 |
\end{bibsample} |
| 148 |
|
| 149 |
\texttt{mergedate=compact} merges all date specifications with the |
| 150 |
date labels. The merged date is printed in \texttt{date} format, |
| 151 |
not \texttt{labeldate}, even if it is printed in the position of |
| 152 |
the date label. The \texttt{issue} field is still treated specially: |
| 153 |
|
| 154 |
\begin{bibsample} |
| 155 |
\item Doe, John (2000). \emph{Book~1}. Location: Publisher. |
| 156 |
\item Doe, John (2003a). \emph{Book~2}. Location: Publisher. |
| 157 |
\item Doe, John (2003b). \emph{Book~3}. Location: Publisher. |
| 158 |
\item Doe, John (June 2006a). \enquote{Article~1}. In: \emph{Monthly Journal} 25.6, pp.~70--85. |
| 159 |
\item Doe, John (2006b). \enquote{Article~2}. In: \emph{Quarterly Journal} 14.3 |
| 160 |
(Fall), pp.~5--25. |
| 161 |
\item Doe, John (7th Aug. 2017).\emph{Webpage}. |
| 162 |
\end{bibsample} |
| 163 |
|
| 164 |
\texttt{mergedate=maximum} strives for maximum compactness. |
| 165 |
Like \texttt{mergedate=compact} this option merges the date |
| 166 |
into the date label. |
| 167 |
Even the \texttt{issue} field is merged with the date label: |
| 168 |
|
| 169 |
\begin{bibsample} |
| 170 |
\item Doe, John (2000). \emph{Book~1}. Location: Publisher. |
| 171 |
\item Doe, John (2003a). \emph{Book~2}. Location: Publisher. |
| 172 |
\item Doe, John (2003b). \emph{Book~3}. Location: Publisher. |
| 173 |
\item Doe, John (June 2006a). \enquote{Article~1}. In: \emph{Monthly Journal} 25.6, pp.~70--85. |
| 174 |
\item Doe, John (Fall 2006b). \enquote{Article~2}. In: \emph{Quarterly Journal} 14.3, pp.~5--25. |
| 175 |
\item Doe, John (7th Aug. 2017).\emph{Webpage}. |
| 176 |
\end{bibsample} |
| 177 |
|
| 178 |
\texttt{mergedate=true} is an alias for \texttt{mergedate=compact}. |
| 179 |
This is the default setting. |
| 180 |
|
| 181 |
\subsection*{Hints} |
| 182 |
|
| 183 |
If you want terms such as \emph{ibidem} to be printed in italics, |
| 184 |
redefine \cmd{mkibid} as follows: |
| 185 |
|
| 186 |
\begin{verbatim} |
| 187 |
\renewcommand*{\mkibid}{\emph} |
| 188 |
\end{verbatim} |
| 189 |
|
| 190 |
\subsection*{\cmd{footcite} examples} |
| 191 |
|
| 192 |
This is just filler text.\footcite{aristotle:physics,aristotle:poetics,aristotle:rhetoric,} |
| 193 |
This is just filler text.\footcite{companion} |
| 194 |
This is just filler text.\footcite{companion} |
| 195 |
\clearpage |
| 196 |
This is just filler text.\footcite{knuth:ct:c,knuth:ct:b,knuth:ct:d} |
| 197 |
This is just filler text.\footcite[55]{companion} |
| 198 |
This is just filler text.\footcite[55]{companion} |
| 199 |
|
| 200 |
\clearpage |
| 201 |
\printbibliography |
| 202 |
|
| 203 |
\end{document} |