diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-09-07 00:41:01 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2019-09-07 00:41:01 +0100 |
commit | bdba5366937f603dddb6a0531e68299959ca61be (patch) | |
tree | c9cfe0856fb121ca429732486a3382691a6a31bf | |
parent | fd9660a8a8ba51632303dae8e3a3c6eef7b23a64 (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.
-rw-r--r-- | .file-metadata | bin | 6302 -> 6302 bytes | |||
-rw-r--r-- | tex/src/preamble-biblatex.tex | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.file-metadata b/.file-metadata Binary files differindex 93f476d..902d99e 100644 --- a/.file-metadata +++ b/.file-metadata 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}} |