From 020dc63e23226789cb2e3b7957bc70d6e938fab1 Mon Sep 17 00:00:00 2001 From: schrieveslaach Date: Sat, 22 Apr 2017 21:57:21 +0200 Subject: Add siunitx Support (#3588) For example: ```latex \SI[round-precision=2]{1}{m} is equal to \SI{1000}{mm}. \SI[round-precision=2]{1}[\$]{} is equal to \SI{0.938094}{\euro} ``` --- test/command/3587.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/command/3587.md (limited to 'test') diff --git a/test/command/3587.md b/test/command/3587.md new file mode 100644 index 000000000..addb6c582 --- /dev/null +++ b/test/command/3587.md @@ -0,0 +1,21 @@ +``` +% pandoc -f latex -t native +\SI[round-precision=2]{1}{m} is equal to \SI{1000}{mm} +^D +[Para [Str "1\160m",Space,Str "is",Space,Str "equal",Space,Str "to",Space,Str "1000\160mm"]] +``` + +``` +% pandoc -f latex -t native +\SI[round-precision=2]{1}[\$]{} is equal to \SI{0.938094}{\euro} +^D +[Para [Str "$\160\&1",Space,Str "is",Space,Str "equal",Space,Str "to",Space,Str "0.938094\160\8364"]] +``` + + +``` +% pandoc -f latex -t native +\SI[round-precision=2]{\{\}}[\{\}]{\{\}} +^D +[Para [Str "{}\160{}\160{}"]] +``` -- cgit v1.2.3