Skip to content

Commit

Permalink
Fix a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pbelmans committed Sep 20, 2023
1 parent 6f4eb6b commit 1b1b40f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions preamble.tex
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
\usepackage{hyperref}
\hypersetup{hypertexnames = false, bookmarksdepth = 2, bookmarksopen = true, colorlinks, linkcolor = black, citecolor = black, urlcolor = black, pdfstartview={XYZ null null 1}}

% mathematics
\usepackage{amsfonts}
\usepackage[fleqn, leqno]{amsmath}
\usepackage{amsthm}

% references
\usepackage[capitalise,noabbrev]{cleveref}

% as per https://tex.stackexchange.com/questions/306908/switching-from-amsrefs-to-biblatex
\begin{filecontents*}{mrnumber.dbx}
\DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
\DeclareDatamodelEntryfields{mrnumber}
\end{filecontents*}
\usepackage[backend=biber, maxbibnames=99, datamodel=mrnumber, sortcites]{biblatex}

\usepackage{booktabs}
\usepackage{colonequals}
\usepackage{diagbox}
Expand All @@ -40,7 +35,14 @@

\usepackage{gitinfo2}

% bibliography configuration
% bibliography
\begin{filecontents*}{mrnumber.dbx}
\DeclareDatamodelFields[type=field,datatype=verbatim]{mrnumber}
\DeclareDatamodelEntryfields{mrnumber}
\end{filecontents*}

\usepackage[backend=biber, maxbibnames=99, datamodel=mrnumber, sortcites]{biblatex}

\DeclareFieldFormat{mrnumber}{%
MR\addcolon\space
\ifhyperref
Expand Down

0 comments on commit 1b1b40f

Please sign in to comment.