summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/smartunits/README.md
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-02-05 23:35:16 +0000
committerKarl Berry <karl@freefriends.org>2016-02-05 23:35:16 +0000
commit58496e93da32b893f5958b37a5d1bf630a93dc15 (patch)
treea91b258e2dbd453712f8613574c9550492a5892c /Master/texmf-dist/doc/latex/smartunits/README.md
parentb0b816931ede90b5237dcb504755552bd5db7387 (diff)
smartunits (5feb16)
git-svn-id: svn://tug.org/texlive/trunk@39592 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/smartunits/README.md')
-rw-r--r--Master/texmf-dist/doc/latex/smartunits/README.md21
1 files changed, 15 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/smartunits/README.md b/Master/texmf-dist/doc/latex/smartunits/README.md
index 1942639f661..e68f705ed0b 100644
--- a/Master/texmf-dist/doc/latex/smartunits/README.md
+++ b/Master/texmf-dist/doc/latex/smartunits/README.md
@@ -2,7 +2,8 @@ smartunits
==========
A [LaTeX](http://en.wikipedia.org/wiki/LaTeX) package that implements
-automatic conversions between (some) metric and Imperial units.
+automatic conversions between (some) metric and Imperial units. All units are
+printed using siuntx
Example
-------
@@ -12,14 +13,22 @@ Example
\usepackage{smartunits}
\begin{document}
\SmartUnitSettings{metric imperial, places=1}
- \SmartUnit{cm=10} % 10 cm (4')
- \SmartUnit{celsius=20} % 20 C (43 F)
- \SmartUnit{miles=5} % 8 km (5 mi)
- \SmartUnit{miles=5, precision=1} % 8.0 km (5 mi)
- \SmartUnit{miles=5, km=7} % 7 km (5 mi)
+ \SmartUnit{km=100.0,figures=1} % 100 km (60 mi)
+ \SmartUnit{miles=62.15,places=1} % 100 km (62.2 mi)
+ \SmartUnit{cm=10} % 10 cm (3.9")
+ \SmartUnit{celsius=20} % 20 C (68.0 F)
+ \SmartUnit{miles=5.0} % 8.0 km (5.0 mi)
+ \SmartUnit{miles=5.0, figures=1} % 8 km (5 mi)
+ \SmartUnit{hours=0, minutes=59} % 0:59 (12:59 AM)
+ \SmartUnit{hours=12, minutes=12} % 12:12 (12:12 PM)
+ \SmartUnit{kg=10.0, places=1} % 10.0kg (22.0 lbs)
+ \SmartUnit{pound=10.0,figures=1} % 5kg (10 lbs)
+ \SmartUnit{l=10.0, places=1} % 10.0l (2.6gal)
+ \SmartUnit{L=10.0, places=1,uk} % 10.0L (2.2gal)
\end{document}
```
+
Units supported
---------------