diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-13 00:05:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-13 00:05:21 +0000 |
commit | 2ccf30608537380af271494a3a12b9d184cb30eb (patch) | |
tree | b7a63dab8d4dd33d82819098eaa9963a8df57e2e /Master/texmf-dist/source/latex/mh | |
parent | 4e7f0753dd878483f8e0f2552629358d987cdfbc (diff) |
mh (12jan11)
git-svn-id: svn://tug.org/texlive/trunk@21048 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/mh')
-rw-r--r-- | Master/texmf-dist/source/latex/mh/mathstyle.dtx | 16 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mh/mathtools.dtx | 27 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/mh/xfrac.dtx | 5 |
3 files changed, 25 insertions, 23 deletions
diff --git a/Master/texmf-dist/source/latex/mh/mathstyle.dtx b/Master/texmf-dist/source/latex/mh/mathstyle.dtx index 2b069d39239..11af0b06c73 100644 --- a/Master/texmf-dist/source/latex/mh/mathstyle.dtx +++ b/Master/texmf-dist/source/latex/mh/mathstyle.dtx @@ -206,7 +206,7 @@ and the derived files % % \begin{macrocode} %<*package> -\ProvidesPackage{mathstyle}[2008/11/25 v0.88] +\ProvidesPackage{mathstyle}[2010/11/17 v0.89] % \end{macrocode} % \begin{macro}{\@saveprimitive} % A straight copy from \pkg{breqn}, see implementation details @@ -387,20 +387,22 @@ and the derived files \fi} % \end{macrocode} % Finally, we declare the package options. +% \changes{v0.89}{2010/11/17}{Options should only change catcodes at +% begin document, not straight away} % \begin{macrocode} \DeclareOption{mathactivechars}{% - \catcode`\^=12\relax - \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 + % \catcode`\_=13\relax \AtBeginDocument{\catcode`\^=13\relax \catcode`\_=13\relax}% } \DeclareOption{noactivechars}{% - \catcode`\^=7\relax - \catcode`\_=8\relax + % \catcode`\^=7\relax + % \catcode`\_=8\relax \AtBeginDocument{\catcode`\^=7\relax \catcode`\_=8\relax}% } \ExecuteOptions{mathactivechars} diff --git a/Master/texmf-dist/source/latex/mh/mathtools.dtx b/Master/texmf-dist/source/latex/mh/mathtools.dtx index 01e50e611b1..0cd19171889 100644 --- a/Master/texmf-dist/source/latex/mh/mathtools.dtx +++ b/Master/texmf-dist/source/latex/mh/mathtools.dtx @@ -2768,21 +2768,22 @@ and the derived files % \begin{macro}{\Colonsim} % This is just to simulate all the \cs{..colon..} symbols from % \pkg{txfonts} and \pkg{pxfonts}. +% \changes{v1.08c}{2010/11/17}{Enclosed all in \cs{mathrel}} % \begin{macrocode} \AtBeginDocument{ - \providecommand*\dblcolon{\vcentcolon\mkern-.9mu\vcentcolon} - \providecommand*\coloneqq{\vcentcolon\mkern-1.2mu=} - \providecommand*\Coloneqq{\dblcolon\mkern-1.2mu=} - \providecommand*\coloneq{\vcentcolon\mkern-1.2mu\mathrel{-}} - \providecommand*\Coloneq{\dblcolon\mkern-1.2mu\mathrel{-}} - \providecommand*\eqqcolon{=\mkern-1.2mu\vcentcolon} - \providecommand*\Eqqcolon{=\mkern-1.2mu\dblcolon} - \providecommand*\eqcolon{\mathrel{-}\mkern-1.2mu\vcentcolon} - \providecommand*\Eqcolon{\mathrel{-}\mkern-1.2mu\dblcolon} - \providecommand*\colonapprox{\vcentcolon\mkern-1.2mu\approx} - \providecommand*\Colonapprox{\dblcolon\mkern-1.2mu\approx} - \providecommand*\colonsim{\vcentcolon\mkern-1.2mu\sim} - \providecommand*\Colonsim{\dblcolon\mkern-1.2mu\sim} + \providecommand*\dblcolon{\mathrel{\vcentcolon\mkern-.9mu\vcentcolon}} + \providecommand*\coloneqq{\mathrel{\vcentcolon\mkern-1.2mu=}} + \providecommand*\Coloneqq{\mathrel{\dblcolon\mkern-1.2mu=}} + \providecommand*\coloneq{\mathrel{\vcentcolon\mkern-1.2mu\mathrel{-}}} + \providecommand*\Coloneq{\mathrel{\dblcolon\mkern-1.2mu\mathrel{-}}} + \providecommand*\eqqcolon{\mathrel{=\mkern-1.2mu\vcentcolon}} + \providecommand*\Eqqcolon{\mathrel{=\mkern-1.2mu\dblcolon}} + \providecommand*\eqcolon{\mathrel{\mathrel{-}\mkern-1.2mu\vcentcolon}} + \providecommand*\Eqcolon{\mathrel{\mathrel{-}\mkern-1.2mu\dblcolon}} + \providecommand*\colonapprox{\mathrel{\vcentcolon\mkern-1.2mu\approx}} + \providecommand*\Colonapprox{\mathrel{\dblcolon\mkern-1.2mu\approx}} + \providecommand*\colonsim{\mathrel{\vcentcolon\mkern-1.2mu\sim}} + \providecommand*\Colonsim{\mathrel{\dblcolon\mkern-1.2mu\sim}} } % \end{macrocode} % \end{macro} diff --git a/Master/texmf-dist/source/latex/mh/xfrac.dtx b/Master/texmf-dist/source/latex/mh/xfrac.dtx index f70ba65582c..c5a119acd80 100644 --- a/Master/texmf-dist/source/latex/mh/xfrac.dtx +++ b/Master/texmf-dist/source/latex/mh/xfrac.dtx @@ -900,11 +900,10 @@ and the derived files false = \cs_set_nopar:Npn \xfrac_relscale: { - \dim_eval:n - { + \etex_dimexpr:D \box_ht:N \l_xfrac_tmp_box + \box_dp:N \l_xfrac_tmp_box - } + \scan_stop: }, true = \cs_set_nopar:Npn \xfrac_relscale: |