% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % test file for ionumbers package % % Copyright 2008 Christian Schneider % % 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 . % % 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}