diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp.tex | 105 |
1 files changed, 86 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp.tex b/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp.tex index e5bb56d347a..9d9bf34e8c7 100644 --- a/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp.tex +++ b/Master/texmf-dist/doc/latex/biblatex/examples/52-style-authoryear-comp.tex @@ -11,6 +11,10 @@ % Some generic settings. \newcommand{\cmd}[1]{\texttt{\textbackslash #1}} \setlength{\parindent}{0pt} +\newenvironment{bibsample} + {\trivlist\samepage + \setlength{\itemsep}{0pt}} + {\endtrivlist} \begin{document} \section*{The \texttt{authoryear-comp} style} @@ -35,27 +39,90 @@ preamble will disable this feature. The default setting is \subsubsection*{The \texttt{mergedate} option} -The \texttt{mergedate} option controls whether or not date -specifications are merged with the date label which is printed after -the author in the bibliography. For example, while -\texttt{mergedate=false} outputs: +Since this style prints the date label after the author/editor in the +bibliography, there are effectively two dates in the bibliography: +the full date specification (e.g., \enquote{2001}, \enquote{June +2006}, \enquote{5th~Jan. 2008}) and the date label (e.g., +\enquote{2006a}), as found in citations. The \texttt{mergedate} +option controls whether or not date specifications are merged with +the date label. This option is best explained by example. Note that +it only affects the bibliography. Citations use the date label only: -\begin{quote} -Doe, John (2008a). \enquote{Article}. In: \emph{Journal} 23.5 (May -2008), pp.~5--24. -\end{quote} -% -\texttt{mergedate=true} will print: +\begin{bibsample} +\item Doe 2000 +\item Doe 2003a +\item Doe 2003b +\item Doe 2006a +\item Doe 2006b +\end{bibsample} -\begin{quote} -Doe, John (May 2008a). \enquote{Article}. In: \emph{Journal} 23.5, -pp.~15--34. -\end{quote} -% -The default setting is \texttt{mergedate=true}. Note that this -options only affects the bibliography. Citations never include full -dates anyway. In this example, the citation will be \enquote{Doe -2008a} in both cases. +\texttt{mergedate=false} strictly separates the date specification +from the date label. The year will always be printed twice: + +\begin{bibsample} +\item Doe, John (2000). \emph{Book~1}. Location: Publisher, 2000. +\item Doe, John (2003a). \emph{Book~2}. Location: Publisher, 2003. +\item Doe, John (2003b). \emph{Book~3}. Location: Publisher, 2003. +\item Doe, John (2006a). \enquote{Article~1}. In: \emph{Monthly Journal} 25.6 +(June~2006), pp.~70--85. +\item Doe, John (2006b). \enquote{Article~2}. In: \emph{Quarterly Journal} 14.3 +(Fall~2006), pp.~5--25. +\end{bibsample} + +\texttt{mergedate=minimum} merges the dates whenever the full date +and the date label are exactly the same string. If the date is a bare +year number and there is no \texttt{extrayear} field, the date +specification will be omitted: + +\begin{bibsample} +\item Doe, John (2000). \emph{Book~1}. Location: Publisher. +\item Doe, John (2003a). \emph{Book~2}. Location: Publisher, 2003. +\item Doe, John (2003b). \emph{Book~3}. Location: Publisher, 2003. +\item Doe, John (2006a). \enquote{Article~1}. In: \emph{Monthly Journal} 25.6 +(June~2006), pp.~70--85. +\item Doe, John (2006b). \enquote{Article~2}. In: \emph{Quarterly Journal} 14.3 +(Fall~2006), pp.~5--25. +\end{bibsample} + +\texttt{mergedate=basic} is similar in concept but more economical. +It will always omit the date specification if the date is a bare year +number: + +\begin{bibsample} +\item Doe, John (2000). \emph{Book~1}. Location: Publisher. +\item Doe, John (2003a). \emph{Book~2}. Location: Publisher. +\item Doe, John (2003b). \emph{Book~3}. Location: Publisher. +\item Doe, John (2006a). \enquote{Article~1}. In: \emph{Monthly Journal} 25.6 +(June~2006), pp.~70--85. +\item Doe, John (2006b). \enquote{Article~2}. In: \emph{Quarterly Journal} 14.3 +(Fall~2006), pp.~5--25. +\end{bibsample} + +\texttt{mergedate=compact} merges all date specifications with the +date labels. It will still treat the \texttt{issue} field specially: + +\begin{bibsample} +\item Doe, John (2000). \emph{Book~1}. Location: Publisher. +\item Doe, John (2003a). \emph{Book~2}. Location: Publisher. +\item Doe, John (2003b). \emph{Book~3}. Location: Publisher. +\item Doe, John (June 2006a). \enquote{Article~1}. In: \emph{Monthly Journal} 25.6, pp.~70--85. +\item Doe, John (2006b). \enquote{Article~2}. In: \emph{Quarterly Journal} 14.3 +(Fall), pp.~5--25. +\end{bibsample} + +\texttt{mergedate=maximum} strives for maximum compactness. Even the +\texttt{issue} field is merged with the date label: + +\begin{bibsample} +\item Doe, John (2000). \emph{Book~1}. Location: Publisher. +\item Doe, John (2003a). \emph{Book~2}. Location: Publisher. +\item Doe, John (2003b). \emph{Book~3}. Location: Publisher. +\item Doe, John (June 2006a). \enquote{Article~1}. In: \emph{Monthly Journal} 25.6, pp.~70--85. +\item Doe, John (Fall 2006b). \enquote{Article~2}. In: \emph{Quarterly Journal} 14.3, pp.~5--25. +\end{bibsample} + +\texttt{mergedate=true} is an alias for \texttt{mergedate=compact}. +This is the default setting. \subsection*{Multiple citations} |