aboutsummaryrefslogtreecommitdiff
path: root/tex/src
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2019-09-07 00:41:01 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2019-09-07 00:41:01 +0100
commitbdba5366937f603dddb6a0531e68299959ca61be (patch)
treec9cfe0856fb121ca429732486a3382691a6a31bf /tex/src
parentfd9660a8a8ba51632303dae8e3a3c6eef7b23a64 (diff)
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.
Diffstat (limited to 'tex/src')
-rw-r--r--tex/src/preamble-biblatex.tex8
1 files changed, 8 insertions, 0 deletions
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}}