diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/onlyamsmath')
-rw-r--r-- | Master/texmf-dist/tex/latex/onlyamsmath/onlyamsmath.sty | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/onlyamsmath/onlyamsmath.sty b/Master/texmf-dist/tex/latex/onlyamsmath/onlyamsmath.sty index 1dd37ecf289..457ce7c5e6c 100644 --- a/Master/texmf-dist/tex/latex/onlyamsmath/onlyamsmath.sty +++ b/Master/texmf-dist/tex/latex/onlyamsmath/onlyamsmath.sty @@ -8,7 +8,7 @@ %% %% onlyamsmath package %% -%% Copyright 2001, 2012 Harald Harders +%% Copyright 2001, 2012, 2016 Harald Harders %% %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN @@ -18,7 +18,7 @@ %% harald.harders@gmx.de %% \ProvidesPackage{onlyamsmath} - [2012/01/01 v0.10 Destroy the standard math environments] + [2016/12/18 v0.20 Destroy the standard math environments] \RequirePackage{amsmath} \newif\ifonlyams@eqnarray \DeclareOption{eqnarray}{\onlyams@eqnarraytrue} @@ -31,6 +31,8 @@ \onlyams@errortrue \DeclareOption{error}{\onlyams@errortrue} \DeclareOption{warning}{\onlyams@errorfalse} +\newif\ifonlyams@nodollardollar +\DeclareOption{nodollardollar}{\onlyams@nodollardollartrue} \ExecuteOptions{error} \ProcessOptions\relax \newcommand{\onlyams@error}[1]{% @@ -69,7 +71,10 @@ \onlyams@error{$$ $$}% \expandafter \[ \fi} -\AtBeginDocument{\catcode`\$=13 } +\ifonlyams@nodollardollar +\else + \AtBeginDocument{\catcode`\$=13 } +\fi \endinput %% |