| 1 |
% |
| 2 |
% This file presents the 'alphabetic' style |
| 3 |
% |
| 4 |
\documentclass[a4paper]{article} |
| 5 |
\usepackage[T1]{fontenc} |
| 6 |
\usepackage[utf8]{inputenc} |
| 7 |
\usepackage[american]{babel} |
| 8 |
\usepackage{csquotes} |
| 9 |
\usepackage[style=alphabetic,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{alphabetic} style} |
| 18 |
|
| 19 |
This style prints alphabetic citations similar to the |
| 20 |
\texttt{alpha.bst} style of legacy BibTeX. The alphabetic labels |
| 21 |
resemble a compact author-year style to some extent, but the way |
| 22 |
they are employed is similar to a numeric citation scheme. |
| 23 |
|
| 24 |
\subsection*{\cmd{cite} examples} |
| 25 |
|
| 26 |
\cite{companion} |
| 27 |
|
| 28 |
\cite[59]{companion} |
| 29 |
|
| 30 |
\cite[see][]{companion} |
| 31 |
|
| 32 |
\cite[see][59--63]{companion} |
| 33 |
|
| 34 |
\subsection*{\cmd{parencite} examples} |
| 35 |
|
| 36 |
% With this style, the \parencite command is similar to \cite at |
| 37 |
% first glance, but the placement of the prenote argument is |
| 38 |
% different. |
| 39 |
|
| 40 |
This is just filler text \parencite{companion}. |
| 41 |
|
| 42 |
This is just filler text \parencite[59]{companion}. |
| 43 |
|
| 44 |
This is just filler text \parencite[see][]{companion}. |
| 45 |
|
| 46 |
This is just filler text \parencite[see][59--63]{companion}. |
| 47 |
|
| 48 |
\subsection*{\cmd{textcite} examples} |
| 49 |
|
| 50 |
\textcite{companion} show that this is just filler text. |
| 51 |
|
| 52 |
\textcite[59]{companion} show that this is just filler text. |
| 53 |
|
| 54 |
\textcite[see][]{companion} show that this is just filler text. |
| 55 |
|
| 56 |
\textcite[see][59--63]{companion} show that this is just filler text. |
| 57 |
|
| 58 |
\subsection*{\cmd{autocite} examples} |
| 59 |
|
| 60 |
% By default, the \autocite command works like \parencite. |
| 61 |
|
| 62 |
This is just filler text \autocite{companion}. |
| 63 |
|
| 64 |
\subsection*{Multiple citations} |
| 65 |
|
| 66 |
% By default, a list of multiple citations is not sorted. You can |
| 67 |
% enable sorting by setting the 'sortcites' package option. |
| 68 |
|
| 69 |
\cite{companion,augustine,bertram,cotton,hammond,massa,murray} |
| 70 |
|
| 71 |
\clearpage |
| 72 |
|
| 73 |
% The list of references |
| 74 |
|
| 75 |
\nocite{*} |
| 76 |
\printbibliography |
| 77 |
|
| 78 |
\end{document} |