summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/stex/cmath/cmath.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/stex/cmath/cmath.sty')
-rw-r--r--Master/texmf-dist/tex/latex/stex/cmath/cmath.sty33
1 files changed, 21 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/stex/cmath/cmath.sty b/Master/texmf-dist/tex/latex/stex/cmath/cmath.sty
index c94906d6fd2..86e08c6ad77 100644
--- a/Master/texmf-dist/tex/latex/stex/cmath/cmath.sty
+++ b/Master/texmf-dist/tex/latex/stex/cmath/cmath.sty
@@ -7,23 +7,32 @@
%% cmath.dtx (with options: `package')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-\ProvidesPackage{cmath}[2012/01/28 v0.1 inline content math]
+\ProvidesPackage{cmath}[2016/04/06 v0.1 inline content math]
+\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{presentation}}
\ProcessOptions
+\RequirePackage{presentation}
-\newcommand{\vname}[2][]{#2%
+\newcommand\vname[2][]{#2%
\def\@opt{#1}%
\ifx\@opt\@empty\else\expandafter\gdef\csname MOD@name@#1\endcsname{#2}\fi}
\def\vnref#1{\csname MOD@name@#1\endcsname}
-\newcommand{\primvar}[2][]{\vname[#1]{#2^\prime}}
-\newcommand{\pprimvar}[2][]{\vname[#1]{#2^{\prime\prime}}}
-\newcommand{\uivar}[3][]{\vname[#1]{{#2}^{#3}}}
-\newcommand{\livar}[3][]{\vname[#1]{{#2}_{#3}}}
-\newcommand{\ulivar}[4][]{\vname[#1]{{#2}^{#3}_{#4}}}
-\newcommand\nappa[2]{#1\left(#2\right)}
-\newcommand\nappe[3]{\nappa{#1}{#2,\ldots,#3}}
-\newcommand\nappf[4]{\nappe{#1}{#2{#3}}{#2{#4}}}
-\newcommand\nappli[4]{\nappe{#1}{#2_{#3}}{#2_{#4}}}
-\newcommand\nappui[4]{\nappe{#1}{#2^{#3}}{#2^{#4}}}
+\newcommand\primvar[2][]{\vname[#1]{#2^\prime}}
+\newcommand\pprimvar[2][]{\vname[#1]{#2^{\prime\prime}}}
+\newcommand\uivar[3][]{\vname[#1]{{#2}^{#3}}}
+\newcommand\livar[3][]{\vname[#1]{{#2}_{#3}}}
+\newcommand\ulivar[4][]{\vname[#1]{{#2}^{#3}_{#4}}}
+\newcommand\nappa[3][]{\prefix[#1]{#2}{#3}}
+\newcommand\nappe[4][]{\nappa[#1]{#2}{#3,\ldots,#4}}
+\newcommand\nappf[5][]{\nappe[#1]{#2}{#3{#4}}{#3{#5}}}
+\newcommand\nappli[5][]{\nappe[#1]{#2}{#3_{#4}}{#3_{#5}}}
+\newcommand\nappui[5][]{\nappe[#1]{#2}{#3^{#4}}{#3^{#5}}}
+\newcommand\anappa[3][]{\assoc[#1]{#2}{#3}}
+\newcommand\anappe[4][]{\anappa[#1]{#2}{#3,\ldots,#4}}
+\newcommand\anappf[5][]{\anappe[#1]{#2}{#3{#4}}{#3{#5}}}
+\newcommand\anappli[5][]{\anappe[#1]{#2}{#3_{#4}}{#3_{#5}}}
+\newcommand\anappui[5][]{\anappe[#1]{#2}{#3^{#4}}{#3^{#5}}}
+\def\LXMID#1#2{\expandafter\gdef\csname xmarg#1\endcsname{#2}\csname xmarg#1\endcsname}
+\def\LXMRef#1{\csname xmarg#1\endcsname}
\endinput
%%
%% End of file `cmath.sty'.