From 5dc917da3ed997c6e48e22bde242f0f8e1ae5333 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 20 May 2021 09:11:26 -0700 Subject: LaTeX reader siunitx: add leading 0 to numbers starting with . --- test/command/6620.md | 3 --- test/command/6658.md | 9 +++++++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 test/command/6658.md (limited to 'test/command') diff --git a/test/command/6620.md b/test/command/6620.md index b19cd1972..e448ca6b5 100644 --- a/test/command/6620.md +++ b/test/command/6620.md @@ -9,13 +9,10 @@ \SI{12.3(60)}{\m} \SI{10.0 \pm 3.3}{\ms} - -\SI{10.0 +- 3.3}{\ms} ^D

23 ± 2 m

125 ± 12 m

0.135 ± 0.021 m

12.3 ± 6 m

10.0 ± 3.3 ms

-

10.0 ± 3.3 ms

``` diff --git a/test/command/6658.md b/test/command/6658.md new file mode 100644 index 000000000..bcd174465 --- /dev/null +++ b/test/command/6658.md @@ -0,0 +1,9 @@ +``` +pandoc -f latex +\SI{10.0 +- 3.3}{\ms} + +\num{.3e45} +^D +

10.0 ± 3.3 ms

+

0.3 × 1045

+``` -- cgit v1.2.3