Skip to content

Instantly share code, notes, and snippets.

@moewew
Created September 28, 2018 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moewew/13a85c603df482d03a456827b247aaa9 to your computer and use it in GitHub Desktop.
Save moewew/13a85c603df482d03a456827b247aaa9 to your computer and use it in GitHub Desktop.
\documentclass[british]{report}
\usepackage[utf8]{inputenc} %Uncommented for BibLatex
\usepackage{babel} %Uncommented for BibLatex
\usepackage{csquotes} %Uncommented for BibLatex
\usepackage[
hyperref=auto,
mincrossrefs=999,
backend=biber,
sorting = none, % to have references appear as they are cited
style=numeric-comp,
firstinits=true, %added new
clearlang=true, %added new
refsegment=chapter,
defernumbers=true
]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
\chapter{Intro}\label{ch:Intro}
This is an example text \cite{sigfridsson,worman,geer}
\printbibliography[heading=subbibliography]
\chapter{Ch2}\label{ch:Ch2}
Only one cite, whose number should be 1 \cite{knuth:ct:a}
\printbibliography[heading=subbibliography]
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment