summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-ms/doc/examples/60-style-authortitle-ms.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex-ms/doc/examples/60-style-authortitle-ms.tex')
-rw-r--r--macros/latex/contrib/biblatex-ms/doc/examples/60-style-authortitle-ms.tex125
1 files changed, 125 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-ms/doc/examples/60-style-authortitle-ms.tex b/macros/latex/contrib/biblatex-ms/doc/examples/60-style-authortitle-ms.tex
new file mode 100644
index 0000000000..7fa522ad44
--- /dev/null
+++ b/macros/latex/contrib/biblatex-ms/doc/examples/60-style-authortitle-ms.tex
@@ -0,0 +1,125 @@
+%
+% This file presents the 'authortitle' style
+%
+\documentclass[a4paper]{article}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[american]{babel}
+\usepackage{csquotes}
+\usepackage[style=authortitle,backend=biber]{biblatex-ms}
+\usepackage{hyperref}
+\addbibresource{biblatex-examples.bib}
+% Some generic settings:
+\newcommand{\cmd}[1]{\texttt{\textbackslash #1}}
+\setlength{\parindent}{0pt}
+\begin{document}
+
+\section*{The \texttt{authortitle} style}
+
+This style prints author-title citations. If an entry in the
+database file includes a \texttt{shorttitle} field, the short
+title is used instead of the \texttt{title} field.
+
+\subsection*{Additional package options}
+
+\subsubsection*{The \texttt{dashed} option}
+
+By default, this style replaces recurrent authors/editors in the
+bibliography by a dash so that items by the same author or editor
+are visually grouped. This feature is controlled by the package
+option \texttt{dashed}. Setting \texttt{dashed=false} in the
+preamble will disable this feature. The default setting is
+\texttt{dashed=true}.
+
+\subsection*{\cmd{cite} examples}
+
+\cite{aristotle:rhetoric}
+
+\cite[59]{aristotle:rhetoric}
+
+\cite[see][]{aristotle:rhetoric}
+
+\cite[see][59--63]{aristotle:rhetoric}
+
+\subsection*{\cmd{parencite} examples}
+
+This is just filler text \parencite{aristotle:rhetoric}.
+
+This is just filler text \parencite[59]{aristotle:rhetoric}.
+
+This is just filler text \parencite[see][]{aristotle:rhetoric}.
+
+This is just filler text \parencite[see][59--63]{aristotle:rhetoric}.
+
+\subsection*{\cmd{parencite*} examples}
+
+\citeauthor{aristotle:rhetoric} shows that this is just filler
+text \parencite*{aristotle:rhetoric}.
+
+\citeauthor{aristotle:rhetoric} shows that this is just filler
+text \parencite*[59]{aristotle:rhetoric}.
+
+\citeauthor{aristotle:rhetoric} shows that this is just filler
+text \parencite*[see][]{aristotle:rhetoric}.
+
+\citeauthor{aristotle:rhetoric} shows that this is just filler
+text \parencite*[see][59--63]{aristotle:rhetoric}.
+
+\subsection*{\cmd{footcite} examples}
+
+This is just filler text.\footcite{aristotle:rhetoric}
+
+This is just filler text.\footcite[59]{aristotle:rhetoric}
+
+This is just filler text.\footcite[See][]{aristotle:rhetoric}
+
+This is just filler text.\footcite[See][59--63]{aristotle:rhetoric}
+
+\subsection*{\cmd{textcite} examples}
+
+\textcite{aristotle:rhetoric} shows that this is just filler text.
+
+\textcite[59]{aristotle:rhetoric} shows that this is just filler text.
+
+\textcite[see][]{aristotle:rhetoric} shows that this is just filler text.
+
+\textcite[see][59--63]{aristotle:rhetoric} shows that this is just filler text.
+
+\subsection*{\cmd{autocite} examples}
+
+% By default, the \autocite command works like \footcite. Note that
+% the period is moved and placed before the footnote.
+
+This is just filler text \autocite{aristotle:rhetoric}.
+
+\subsection*{Multiple citations}
+
+% By default, a list of multiple citations is not sorted. You can
+% enable sorting by setting the 'sortcites' package option.
+
+\cite{aristotle:rhetoric,aristotle:physics,aristotle:poetics}
+
+\subsection*{Shorthand examples}
+
+% If an entry in the bib file includes a 'shorthand' field, the
+% shorthand replaces the regular author-title citation.
+
+\cite{kant:kpv,kant:ku}
+
+\clearpage
+
+% The list of shorthands.
+
+\printshorthands
+
+% The list of references. Note that the year is printed after the
+% author or editor and that recurring author and editor names are
+% replaced by a dash unless the entry is the first one on the
+% current page or double page spread (depending on the setting of
+% the 'pagetracker' package option). This style will implicitly set
+% 'pagetracker=true' at load time.
+
+\nocite{*}
+\printbibliography
+
+\end{document}