It seems that the datetime2
and the nccmath
packages are incompatible when I load the [useregional]
option in the first (I get command \nr already defined
).
I used a solution for reducing spacing around my equations that needed the latter, and I suppose I could find another one just as easily (even though maybe not as convenient), but maybe someone here could find a way to fix this.
MWE:
\documentclass{article}
\usepackage[useregional]{datetime2}
\usepackage{nccmath}
\usepackage{lipsum}
\title{Example}
\author{Isabella B.}
\begin{document}
\maketitle
\lipsum[1]
\useshortskip
\[ 2\times2=4 \]
\lipsum[1]
\end{document}
The nccmath
\useshortskip
command still works, but maybe some other functionality is being compromised.
With \useshortskip
:
Without \useshortskip
:
nccmath
thandatetime2
datetime2
, v1.5.4 dated 2019/10/21 solves the issue. See dickimaw-books.com/bugtracker.php?action=view&key=137