summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-03-07 17:06:55 +0000
committerKarl Berry <karl@freefriends.org>2010-03-07 17:06:55 +0000
commitb2cb66415434b7806eb0a2f64aa03524d06e9f30 (patch)
tree8c878b8d7f805cc75a3146cef64f7017177fe060
parent0a15a749fe95adf96bcec158632436e2e42a304b (diff)
isonums doc update (6mar10)
git-svn-id: svn://tug.org/texlive/trunk@17362 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/isonums/isonums.pdfbin0 -> 208294 bytes
-rw-r--r--Master/texmf-dist/doc/latex/isonums/isonums.tex93
2 files changed, 93 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/isonums/isonums.pdf b/Master/texmf-dist/doc/latex/isonums/isonums.pdf
new file mode 100644
index 00000000000..98b8e7968ba
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/isonums/isonums.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/isonums/isonums.tex b/Master/texmf-dist/doc/latex/isonums/isonums.tex
new file mode 100644
index 00000000000..717f14dd645
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/isonums/isonums.tex
@@ -0,0 +1,93 @@
+\documentclass[DIV=8, parskip=half, pagesize=auto]{scrartcl}
+
+\usepackage{fixltx2e}
+\usepackage{etex}
+\usepackage{xspace}
+\usepackage{lmodern}
+\usepackage[T1]{fontenc}
+\usepackage{textcomp}
+\usepackage[utf8]{inputenc}
+\usepackage{microtype}
+\usepackage{hyperref}
+
+\newcommand*{\mail}[1]{\href{mailto:#1}{\texttt{#1}}}
+\newcommand*{\pkg}[1]{\textsf{#1}}
+\newcommand*{\cs}[1]{\texttt{\textbackslash#1}}
+\makeatletter
+\newcommand*{\cmd}[1]{\cs{\expandafter\@gobble\string#1}}
+\makeatother
+\newcommand*{\opt}[1]{\texttt{#1}}
+\newcommand*{\ZifferStrich}{\mbox{\textrm{-\kern0.1em-}}}
+
+\addtokomafont{title}{\rmfamily}
+
+\title{The \pkg{isonums} package\thanks{This manual corresponds to \pkg{isonums}~v1.0, dated~2007/12/31, based on \pkg{ziffer}~v2.2.}}
+\author{M. Väth\\\mail{vaeth@mathematik.uni-wuerzburg.de}}
+\date{2007/12/31}
+
+
+\begin{document}
+
+\maketitle
+
+Adapted to handle English formatted numbers:\\
+Luis Rivera, \mail{jlrn77@gmail.com}
+
+This package provides the macros
+
+\begin{tabular}{@{}l@{}l@{}}
+ \cmd{\ZifferAn} & (equivalent with \verb+\ZifferPunktAn \ZifferStrichAn +) \\
+ \cmd{\ZifferAus} & (equivalent with \verb+\ZifferPunktAus\ZifferStrichAus+) \\
+ \cmd{\ZifferPunktAn} \\
+ \cmd{\ZifferPunktAus} \\
+ \cmd{\ZifferStrichAn} \\
+ \cmd{\ZifferStrichAus}
+\end{tabular}
+
+If \cmd{\ZifferAn} was used, then in numbers in math-mode the following happens:
+
+\begin{tabular}{@{}rl@{}}
+ `\texttt{.}' & is used as a `one-thousand separator' as common in Germany \\
+ `\texttt{,}' & is used as a decimal separator as common in Germany \\
+ `\verb+--+' & generates a \ZifferStrich\ with better spacing (e.\,g.\ in 1.000,\ZifferStrich)
+\end{tabular}
+
+You may still use the symbols `\texttt{.}' `\texttt{,}' and `\texttt{-}' in other context in math mode.
+
+The first two conversions are switched on by default, the last conversion has
+to be switched on explicitly (this has been changed in v2.1):
+You may switch on/off the conversions with
+
+\begin{tabular}{@{}ll@{}}
+ \cmd{\ZifferPunktAn}/\cmd{\ZifferPunktAus} & (for the first two conversions) \\
+ respectively \\
+ \cmd{\ZifferStrichAn}/\cmd{\ZifferStrichAus} & (for the last conversion).
+\end{tabular}
+
+The reason why the last conversion is not on by default (and why it might be
+necessary to [temporarily] switch off a conversion) is that certain packages
+(in particular, newer versions of \pkg{amsmath}) cause problems with it.
+
+There were some discussions which should be the correct output of the
+above conversions (in particular, of `\verb+--+').
+If you do not like my choice: You may customize (i.\,e.\ redefine) the macros
+\cmd{\ZifferLeer} and \cmd{\ZifferStrich}
+after loading the package to produce the `one-thousand separator'
+respectively the~`\ZifferStrich'.
+
+All above command-names are in German, because I had expected that this
+package is only needed for German texts. Meanwhile, I learned that also
+other countries use this strange convention for numbers. However, for
+downward compatibility, I decided to keep the name conventions anyway
+(after all, the name of the package is in German anyway).
+
+\medskip
+
+The extension options (\opt{euro}, \opt{anglo}) define the input format, so that all numbers
+in math mode are displayed in ISO--31--0 format, regardless of input format.
+The commands \cmd{\EuroZiffer} and \cmd{\AngloZiffer} make local changes within the document body.
+I wrote these extensions as I use the decimal point consistently and I found
+convenient to make conversions to all numbers simply by adjusting a command line
+in the whole document.--- Luis.
+
+\end{document}