Bug Tracker 
| ID | 167🔗 |
|---|---|
| Date: | 2020-09-25 11:43:15 |
| Status | Closed (Fixed) |
| Category | datetime2 |
| Version | v1.5.6 |
| Summary | spurious space in \DTMsaveddatediff |
Sign in to subscribe to notifications about this report.
Description
There is an extra blank after the end of\ifcsundef{@dtm@#2@year} in the definition of \DTMsaveddatediff. It is caused by lack of a % in line 132 of the source code datetime2-calc.sty.
MWE
Download (224B)
\documentclass{article}
\usepackage[calc]{datetime2}
\newcount\datediff
\begin{document}
\DTMsavenow{today}
\DTMsavedate{recent}{2020-09-11}
ab
a\DTMsaveddatediff{today}{recent}{\datediff}% specious blank
b
\end{document}
Evaluation
Fixed in v1.5.7 (2021-03-21).
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=167
