summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.tex')
-rw-r--r--Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.tex40
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.tex b/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.tex
new file mode 100644
index 00000000000..c0952bab424
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/biblatex/examples/17-numeric-prefixed-2-bibtex.tex
@@ -0,0 +1,40 @@
+%
+% This example is almost the same as the previous one except that
+% the catch-all sub-bibliography does not assign any prefix.
+%
+\documentclass[a4paper,oneside]{article}
+\usepackage[T1]{fontenc}
+\usepackage[american]{babel}
+\usepackage{csquotes}
+\usepackage[style=numeric,defernumbers,backend=bibtex]{biblatex}
+\usepackage{hyperref}
+\usepackage{nameref}
+\addbibresource{biblatex-examples.bib}
+\defbibfilter{other}{
+ not type=article
+ and
+ not type=book
+ and
+ not type=collection
+}
+\begin{document}
+
+\section*{Prefixed numerical citations}
+
+% Some citations:
+\cite{angenendt, kastenholz, augustine, companion, jaffe, ctan}
+
+\nocite{*}
+
+\printbibheading
+
+\printbibliography[heading=subbibliography,title={Articles},type=article, prefixnumbers={A}]
+\printbibliography[heading=subbibliography,title={Books},type=book, prefixnumbers={A}]
+\printbibliography[heading=subbibliography,title={Collections},type=collection, prefixnumbers={C}]
+
+% The catch-all sub-bibliography for all remaining types. We don't
+% use a prefix but we still need to set resetnumbers=true to restart
+% the item numbering:
+\printbibliography[heading=subbibliography,title={Other Sources},filter=other,resetnumbers]
+
+\end{document}