diff options
author | Karl Berry <karl@freefriends.org> | 2008-08-15 00:04:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-08-15 00:04:52 +0000 |
commit | e1a949a7d56eb280cbe2e19a7e31ae46a1bf56ae (patch) | |
tree | 4e2de0e0445420ffd7f1770428a07d6dd6d171f2 /Master/texmf-dist/tex/latex/mh/mathstyle.sty | |
parent | 6ba7686ac1ae4d912d3f2ebfa29068fb493f4f7d (diff) |
mh update (14aug08)
git-svn-id: svn://tug.org/texlive/trunk@10352 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mh/mathstyle.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/mh/mathstyle.sty | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/mh/mathstyle.sty b/Master/texmf-dist/tex/latex/mh/mathstyle.sty index b0b29bdd1af..1c10bf4b1ab 100644 --- a/Master/texmf-dist/tex/latex/mh/mathstyle.sty +++ b/Master/texmf-dist/tex/latex/mh/mathstyle.sty @@ -85,6 +85,10 @@ \lowercase{\endgroup \let\@@superscript=^ \let\@@subscript=_ }% +\begingroup \catcode`\^=12\relax \catcode`\_=12\relax % just in case +\lowercase{\endgroup +\let\@@superscript@other=^ \let\@@subscript@other=_ +}% \def\subsupstyle{% \ifnum\mathstyle<\tw@ \chardef\mathstyle\tw@ \else \chardef\mathstyle\thr@@ @@ -148,13 +152,16 @@ \fi} \DeclareOption{mathactivechars}{% \catcode`\^=12\relax - \catcode`\_=12\relax} + \catcode`\_=12\relax +\AtBeginDocument{\catcode`\^=12\relax \catcode`\_=12\relax }} \DeclareOption{activechars}{% \catcode`\^=13\relax - \catcode`\_=13\relax} + \catcode`\_=13\relax +\AtBeginDocument{\catcode`\_=12\relax \catcode`\_=13\relax }} \DeclareOption{noactivechars}{% \catcode`\^=7\relax - \catcode`\_=8\relax} + \catcode`\_=8\relax +\AtBeginDocument{\catcode`\_=7\relax \catcode`\_=8\relax }} \ExecuteOptions{mathactivechars} \ProcessOptions\relax \ifnum\catcode`\^=13\relax |