summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/ncctools/nccmath.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-07-03 21:02:29 +0000
committerKarl Berry <karl@freefriends.org>2018-07-03 21:02:29 +0000
commitcd775453e6876b8eeca27d56ccc301bc813977a8 (patch)
tree0373a735059d04322b6e6dc8add864b91acaa19a /Master/texmf-dist/source/latex/ncctools/nccmath.dtx
parent8dfe7d3b1c0cf293f8753f67e4c8078e616ca730 (diff)
ncctools (3jul18)
git-svn-id: svn://tug.org/texlive/trunk@48127 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/ncctools/nccmath.dtx')
-rw-r--r--Master/texmf-dist/source/latex/ncctools/nccmath.dtx24
1 files changed, 22 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/latex/ncctools/nccmath.dtx b/Master/texmf-dist/source/latex/ncctools/nccmath.dtx
index 5007e8e92b4..23030e7b647 100644
--- a/Master/texmf-dist/source/latex/ncctools/nccmath.dtx
+++ b/Master/texmf-dist/source/latex/ncctools/nccmath.dtx
@@ -1,10 +1,10 @@
% \iffalse
%%
-%% File: nccmath.dtx Copyright (C) 2002--2005 by Alexander I. Rozhenko
+%% File: nccmath.dtx Copyright (C) 2002--2006 by Alexander I. Rozhenko
%%
%<package>\NeedsTeXFormat{LaTeX2e}[1995/12/01]
%<package>\ProvidesPackage{nccmath}
-%<package> [2005/02/21 v1.2 Additional Math Commands (NCC)]
+%<package> [2006/01/20 v1.3 Additional Math Commands (NCC)]
%
% \changes{v1.01}{2002/01/20}{This version is uploaded to CTAN}
% \changes{v1.02}{2002/02/19}{|\Eq|, |\Eqs|, and |\Eqalign| are removed}
@@ -16,6 +16,7 @@
% \changes{v1.2}{2005/02/15}{Introduce |mediummath|}
% \changes{v1.2}{2005/02/16}{Remove redefinition of equations tag}
% \changes{v1.2}{2005/02/21}{Avoid conflicts with the |array| package}
+% \changes{v1.3}{2006/01/20}{Introduce |\dmulticolumn| to use within |darray|}
%
%<*driver>
\let\makeindex\relax
@@ -121,6 +122,10 @@
% The |darray| environment is implemented independently on the
% |array| environment to avoid conflicts with the |array| package.
%
+% \DescribeMacro{\dmulticolumn}
+% |\dmulticolumn|\marg{count}\marg{preamble}\marg{formula}
+% is used in |darray| instead of |\multicolumn|.
+%
% \DescribeMacro{\useshortskip}
% In \TeX, two types of skips above display formulas are used: the
% normal skip defined in the |\abovedisplayskip| register and the
@@ -878,6 +883,21 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\dmulticolumn}
+% To produce multi-columns in |darray|, the |\dmulticolumn|
+% command is used.
+% \begin{macrocode}
+\newcommand\dmulticolumn[3]{\multispan{#1}%
+ \begingroup
+ \NCC@mkpream{#2}%
+ \def\@sharp{#3}\set@typeset@protect
+ \@preamble
+ \endgroup
+ \ignorespaces
+}
+% \end{macrocode}
+% \end{macro}
+%
% \begin{macro}{\NCC@mkpream}
% The |darray| environment
% is independent from |array| to avoid conflicts with