aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-09-10 13:07:31 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-09-10 13:07:31 -0700
commita03160fb0d9c9790e23f6c75368bfa39281b76a8 (patch)
tree1287282b95137e6e3539e5aabccaa5d2b4033e3d /test
parent9423b4b7d91b38540388d0183d49cc413538edb9 (diff)
downloadpandoc-a03160fb0d9c9790e23f6c75368bfa39281b76a8.tar.gz
LaTeX reader: support parenthesized uncertainties in siunitx.
Diffstat (limited to 'test')
-rw-r--r--test/command/6620.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/6620.md b/test/command/6620.md
new file mode 100644
index 000000000..4b4fe2a01
--- /dev/null
+++ b/test/command/6620.md
@@ -0,0 +1,12 @@
+```
+% pandoc -f latex
+\SI{23(2)}{\m}
+
+\SI{125(12)}{\m}
+
+\SI{0.135(21)}{\m}
+^D
+<p>23 ± 2 m</p>
+<p>125 ± 12 m</p>
+<p>0.135 ± 0.021 m</p>
+```