summaryrefslogtreecommitdiff
path: root/macros/optex/base/math-macros.opm
diff options
context:
space:
mode:
Diffstat (limited to 'macros/optex/base/math-macros.opm')
-rw-r--r--macros/optex/base/math-macros.opm7
1 files changed, 4 insertions, 3 deletions
diff --git a/macros/optex/base/math-macros.opm b/macros/optex/base/math-macros.opm
index 8a956ee2d0..83d3c5ab51 100644
--- a/macros/optex/base/math-macros.opm
+++ b/macros/optex/base/math-macros.opm
@@ -1,6 +1,6 @@
%% This is part of the OpTeX project, see http://petr.olsak.net/optex
-\_codedecl \sin {Math macros plus mathchardefs <2021-04-25>} % preloaded in format
+\_codedecl \sin {Math macros plus mathchardefs <2021-08-02>} % preloaded in format
\_doc -----------------------------
The category code of the character `_` remains as the letter (11) and the mathocode
@@ -1059,14 +1059,15 @@
\_def\_mathbox#1{{\_mathstyles{\_hbox{%
\_ifnum\_stylenum<2 \_everymath{\_currstyle}%
\_else
- \_ifnum\_stylenum=2 \_def\_textmff{+ssty=0;}\_fi
- \_ifnum\_stylenum=3 \_def\_textmff{+ssty=1;}\_def\_scriptmff{+ssty=1;}\_fi
+ \_ifnum\_stylenum=2 \_def\_textmff{ssty=1;}\_fi
+ \_ifnum\_stylenum=3 \_def\_textmff{ssty=2;}\_def\_scriptmff{ssty=2;}\_fi
\_typoscale[\_dobystyle{}{}{700}{500}/]\_fi #1}}}%
}
\_public \mathbox ;
\_endcode %---------------------------------------------------
+2021-08-02 ssty fontfeatures rewritten
2021-04-25 \triangleright: typo fixed
2021-03-22 \(l)eqalignno: \hbox instead \llap, \rlap (\par error suppressed)
2021-03-19 allow text mode \{ and \}