summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ncctools/ncccomma.sty
diff options
context:
space:
mode:
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'.