From 9ccc9c3898aab84f54fd9f05204a8cd6d2a134f4 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 31 Oct 2016 23:02:34 +0000
Subject: uspace (31oct16)

git-svn-id: svn://tug.org/texlive/trunk@42407 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/doc/latex/uspace/uspace-test.tex | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)

(limited to 'Master/texmf-dist/doc/latex/uspace/uspace-test.tex')

diff --git a/Master/texmf-dist/doc/latex/uspace/uspace-test.tex b/Master/texmf-dist/doc/latex/uspace/uspace-test.tex
index 0c0b8cb573f..b735f965fa0 100644
--- a/Master/texmf-dist/doc/latex/uspace/uspace-test.tex
+++ b/Master/texmf-dist/doc/latex/uspace/uspace-test.tex
@@ -14,6 +14,7 @@
   hidelinks,
   breaklinks}
 \urlstyle{same}  % don't use monospace font for urls
+\usepackage{float}
 \usepackage{uspace}
 
 
@@ -117,6 +118,44 @@ The name of the Master Namer is `Kur­rem­kar­mer­ruk'.
 
 \pagebreak
 
+\section{\figuresp{} and \punctsp{}}
+
+\expl{\figuresp{} and \punctsp{} can be used to align numbers in tables. The
+  below table (partial table of Earth athmosphere constituents) does not use
+  either. The numbers are centered in their column.}
+
+\begin{figure}[H]
+\centering
+\begin{tabular}{l | c}
+  Element & ppmv \tabularnewline
+  \hline
+  Nitrogen &     780,840\tabularnewline
+  Oxygen &       209,460\tabularnewline
+  Argon &          9,340\tabularnewline
+  Carbon dioxide &   400 \tabularnewline
+  Neon &               18.18
+\end{tabular}
+\end{figure}
+
+\expl{Below is the same table as above but with addition of \figuresp{} and
+  \punctsp{} to pad the numbers so that they all seem the same width to
+  \LaTeX{}:}
+
+\begin{figure}[H]
+\centering
+\begin{tabular}{l | c}
+  Element & ppmv \tabularnewline
+  \hline
+  Nitrogen &      780,840   \tabularnewline
+  Oxygen &        209,460   \tabularnewline
+  Argon &           9,340   \tabularnewline
+  Carbon dioxide &    400   \tabularnewline
+  Neon &               18.18
+\end{tabular}
+\end{figure}
+
+\pagebreak
+
 \section{en, em and other spaces}
 
 \expl{Unicode contains several more space characters, some of which are shown in
-- 
cgit v1.2.3

