summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-ms/doc/examples/15-references-by-type-ms.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex-ms/doc/examples/15-references-by-type-ms.tex')
-rw-r--r--macros/latex/contrib/biblatex-ms/doc/examples/15-references-by-type-ms.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-ms/doc/examples/15-references-by-type-ms.tex b/macros/latex/contrib/biblatex-ms/doc/examples/15-references-by-type-ms.tex
new file mode 100644
index 0000000000..68946acdca
--- /dev/null
+++ b/macros/latex/contrib/biblatex-ms/doc/examples/15-references-by-type-ms.tex
@@ -0,0 +1,26 @@
+%
+% This example demonstrates how to subdivide a bibliography by type,
+% using 'type' filters.
+%
+\documentclass[a4paper,oneside]{book}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage[american]{babel}
+\usepackage{csquotes}
+\usepackage[style=authoryear,backend=biber]{biblatex-ms}
+\usepackage{hyperref}
+\addbibresource{biblatex-examples.bib}
+\begin{document}
+
+\chapter{References by type}
+
+This is just filler text \parencite{knuth:ct:a}.
+This is just filler text \parencite{ctan}.
+This is just filler text \parencite{companion}.
+This is just filler text \parencite{markey}.
+
+\printbibheading
+\printbibliography[nottype=online,heading=subbibliography,title={Printed Sources}]
+\printbibliography[type=online,heading=subbibliography,title={Online Sources}]
+
+\end{document}