From 6353d202605e9d14b274ec399dc15bb7de330328 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 3 Nov 2008 19:31:51 +0000
Subject: new latex package ionumbers (2nov08)

git-svn-id: svn://tug.org/texlive/trunk@11165 c570f23f-e606-0410-a88d-b1316a301751
---
 .../doc/latex/ionumbers/ionumbers_test.tex         | 100 +++++++++++++++++++++
 1 file changed, 100 insertions(+)
 create mode 100644 Master/texmf-dist/doc/latex/ionumbers/ionumbers_test.tex

(limited to 'Master/texmf-dist/doc/latex/ionumbers/ionumbers_test.tex')

diff --git a/Master/texmf-dist/doc/latex/ionumbers/ionumbers_test.tex b/Master/texmf-dist/doc/latex/ionumbers/ionumbers_test.tex
new file mode 100644
index 00000000000..f13cd53e947
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/ionumbers/ionumbers_test.tex
@@ -0,0 +1,100 @@
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% test file for ionumbers package
+%
+% Copyright 2008 Christian Schneider <software(at)chschneider(dot)eu>
+%
+% This file is part of ionumbers.
+%
+% ionumbers is free software: you can redistribute it and/or modify
+% it under the terms of the GNU General Public License version 3 as
+% published by the Free Software Foundation, not any later version.
+%
+% ionumbers is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with ionumbers.  If not, see <http://www.gnu.org/licenses/>.
+%
+% WARNING: THIS IS ALPHA SOFTWARE AND MAY CONTAIN SERIOUS BUGS!
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\documentclass{article}
+
+\usepackage{ionumbers}
+
+\begin{document}
+  \noindent
+  \begin{minipage}{0.5\textwidth}
+    \centering
+    \begin{tabular}{r@{\hspace{1em}}r@{\hspace{1em}}r}
+      \hline\hline
+      Input & Output \\
+      \hline\hline
+      \verb!1234567890! & $1234567890$ \\
+      \verb!.123456789! & $.123456789$ \\
+      \verb!123.456789! & $123.456789$ \\
+      \verb!123456.789! & $123456.789$ \\
+      \verb!123456789.! & $123456789.$ \\
+      \verb!,123456789! & $,123456789$ \\
+      \verb!123,456789! & $123,456789$ \\
+      \verb!123456,789! & $123456,789$ \\
+      \verb!123456789,! & $123456789,$ \\
+      \hline\hline
+      \verb!1234567890! & $1234567890$ \\
+      \verb!.123.456.789! & $.123.456.789$ \\
+      \verb!1.234.567.89! & $1.234.567.89$ \\
+      \verb!12.345.678.9! & $12.345.678.9$ \\
+      \verb!123.456.789.! & $123.456.789.$ \\
+      \verb!,123,456,789! & $,123,456,789$ \\
+      \verb!1,234,567,89! & $1,234,567,89$ \\
+      \verb!12,345,678,9! & $12,345,678,9$ \\
+      \verb!123,456,789,! & $123,456,789,$ \\
+      \hline\hline
+      \verb!1234567890! & $1234567890$ \\
+      \verb!1.23.456.789! & $1.23.456.789$ \\
+      \verb!.1234.56789! & $.1234.56789$ \\
+      \verb!1,23,456,789! & $1,23,456,789$ \\
+      \verb!,1234,56789! & $,1234,56789$ \\
+      \hline\hline
+    \end{tabular}
+  \end{minipage}%
+  \begin{minipage}{0.5\textwidth}
+    \centering
+    \begin{tabular}{r@{\hspace{1em}}r@{\hspace{1em}}r}
+      \hline\hline
+      Input & Output \\
+      \hline\hline
+      \verb!1.23.456.789! & $1.23.456.789$ \\
+      \verb!.1234.56789! & $.1234.56789$ \\
+      \verb!1,23,456,789! & $1,23,456,789$ \\
+      \verb!,1234,56789! & $,1234,56789$ \\
+      \hline\hline
+      \verb!1234567890! & $1234567890$ \\
+      \verb!1,234,567.89! & $1,234,567.89$ \\
+      \verb!12,345,678.9! & $12,345,678.9$ \\
+      \verb!123,456,789.! & $123,456,789.$ \\
+      \verb!1.234.567,89! & $1.234.567,89$ \\
+      \verb!12.345.678,9! & $12.345.678,9$ \\
+      \verb!123.456.789,! & $123.456.789,$ \\
+      \hline\hline
+      \verb!+123456789! & $+1234567890$ \\
+      \verb!-123456789! & $-1234567890$ \\
+      \verb!+-123456789! & $+-1234567890$ \\
+      \verb!-+123456789! & $-+1234567890$ \\
+      \verb!+ -123456789! & $+ -1234567890$ \\
+      \hline\hline
+      \verb!1e123456789! & $1e123456789$ \\
+      \verb!1e+123456789! & $1e+123456789$ \\
+      \verb!1e-123456789! & $1e-123456789$ \\
+      \verb!1e.123456789! & $1e.123456789$ \\
+      \verb!1e,123456789! & $1e,123456789$ \\
+      \verb!1e123e123! & $1e123e123$ \\
+      \verb!1ee123456! & $1ee123456$ \\
+      \hline\hline
+    \end{tabular}
+  \end{minipage}
+\end{document}
-- 
cgit v1.2.3

