summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ncctools/ncccomma.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-13 00:00:29 +0000
committerKarl Berry <karl@freefriends.org>2006-01-13 00:00:29 +0000
commit8b8fbae5990dee3b8ab739df0de8b7c365e4d227 (patch)
tree824392c1bb07fe8c8b620efd3992cc0daa3e433a /Master/texmf-dist/tex/latex/ncctools/ncccomma.sty
parente9351f8ac4f8603d6020be78e092e939e24d89d0 (diff)
ncctools
git-svn-id: svn://tug.org/texlive/trunk@1132 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ncctools/ncccomma.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ncctools/ncccomma.sty48
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ncctools/ncccomma.sty b/Master/texmf-dist/tex/latex/ncctools/ncccomma.sty
new file mode 100644
index 00000000000..6ff8161a8ec
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ncctools/ncccomma.sty
@@ -0,0 +1,48 @@
+%%
+%% This is file `ncccomma.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% ncccomma.dtx (with options: `package')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% This file is a generated file from the sources of the `ncctools'
+%% bundle.
+%%
+%% You are not allowed to modify this file.
+%%
+%% You are allowed to distribute this file if and only if
+%% it is distributed with the corresponding source files in
+%% the `ncctools' bundle.
+%%
+%% For the copying and distribution conditions of the source files,
+%% see the README file distributed with the ncctools bundle.
+%%
+%% File: ncccomma.dtx Copyright (C) 2005 by Alexander I. Rozhenko
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{ncccomma}
+ [2005/02/10 v1.0 Smart Math Comma Package (NCC)]
+\mathchardef\mathcomma\mathcode`\,
+\mathcode`\,="8000
+\bgroup
+ \uccode`\~`\,%
+ \uppercase{%
+\egroup
+ \def~}{\futurelet\@let@token\NCC@comma}
+\newcommand\ordcommalist{0123456789}
+\def\NCC@comma{%
+ \let\@tempb\@empty
+ \expandafter\@tfor\expandafter\@tempa\expandafter:\expandafter=%
+ \ordcommalist\do{%
+ \expandafter\ifx\@tempa\@let@token
+ \let\@tempb\mathord \@break@tfor
+ \fi
+ }%
+ \@tempb\mathcomma
+}
+\endinput
+%%
+%% End of file `ncccomma.sty'.