diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-16 20:26:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-16 20:26:50 +0000 |
commit | 99b61eb759c55661a05ac34b0661970d39ec555e (patch) | |
tree | 981a8c7f471e8fcab120012186ac8699a551ef88 /Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.tex | |
parent | 815e54f6a349937be9afb419f12989c0b9652ab3 (diff) |
biblatex 3.4 (16may16)
git-svn-id: svn://tug.org/texlive/trunk@41192 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.tex | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.tex b/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.tex new file mode 100644 index 00000000000..31cac5de0b3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/biblatex/examples/19-alphabetic-prefixed-bibtex.tex @@ -0,0 +1,44 @@ +% +% Prefixes also work with alphabetic the styles. +% +\documentclass[a4paper,oneside]{article} +\usepackage[T1]{fontenc} +\usepackage[american]{babel} +\usepackage{csquotes} +\usepackage[style=alphabetic,backend=bibtex]{biblatex} +\usepackage{hyperref} +\usepackage{nameref} +\addbibresource{biblatex-examples.bib} +% A catch-all filter for all items which are not assigned to a +% dedicated sub-bibliography: +\defbibfilter{other}{ + not type=article + and + not type=book + and + not type=collection +} +\begin{document} + +\section*{Prefixed alphabetic citations} + +% Some citations: +\cite{angenendt, kastenholz, augustine, companion, jaffe, ctan} + +\nocite{*} + +% Let's print the overall heading of the bibliography first: +\printbibheading + +% And now the sub-bibliographies: we use three of them (based on the +% entry type). Each sub-bibliography assigns a different prefix. The +% option is called 'prefixnumbers' because it was originally intended +% for numeric citations only. It also works with alphabetic labels: +\printbibliography[heading=subbibliography,title={Articles},type=article,prefixnumbers={A-}] +\printbibliography[heading=subbibliography,title={Books},type=book,prefixnumbers={B-}] +\printbibliography[heading=subbibliography,title={Collections},type=collection,prefixnumbers={C-}] + +% The catch-all sub-bibliography for all remaining types: +\printbibliography[heading=subbibliography,title={Other Sources},filter=other,prefixnumbers={O-}] + +\end{document} |