From bdba5366937f603dddb6a0531e68299959ca61be Mon Sep 17 00:00:00 2001 From: Mohammad Akhlaghi Date: Sat, 7 Sep 2019 00:41:01 +0100 Subject: Updates in BibLaTeX preamble In some cases, users of the template may not need the other template headers, they may only want `preamble-biblatex.tex'. But `xcolor' needs to be loaded before being able to load the various colors we use in the references. So to be self-consistent, it is loaded. Also, the default style was also printing the month of the publication which is not common. So a line was added to clear the `month' field before building the Bibliography. --- tex/src/preamble-biblatex.tex | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tex') diff --git a/tex/src/preamble-biblatex.tex b/tex/src/preamble-biblatex.tex index da3aa6f..71ee71e 100644 --- a/tex/src/preamble-biblatex.tex +++ b/tex/src/preamble-biblatex.tex @@ -46,6 +46,13 @@ +%% To define colors +\usepackage{xcolor} + + + + + % Basic BibLaTeX settings \usepackage[ doi=false, @@ -65,6 +72,7 @@ \addbibresource{tex/src/references.tex} \addbibresource{tex/build/macros/dependencies-bib.tex} \renewbibmacro{in:}{} +\AtEveryBibitem{\clearfield{month}} \renewcommand*{\bibfont}{\footnotesize} \DefineBibliographyStrings{english}{references = {References}} -- cgit v1.2.1