diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-19 23:04:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-19 23:04:15 +0000 |
commit | f74161ca4e7eb3c5af9afcbe92522ae3b58987c1 (patch) | |
tree | 3c30a13df5ac7968195c85070a2b074578e669d2 /Master/texmf-dist/tex/context/base/mkiv/math-acc.mkvi | |
parent | 1d5a55ac8f5506a7ae9cfca52f4b588182e199d4 (diff) |
context beta/cont-tmf.zip (Apr 16 12:55)
git-svn-id: svn://tug.org/texlive/trunk@43931 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/math-acc.mkvi')
-rw-r--r-- | Master/texmf-dist/tex/context/base/mkiv/math-acc.mkvi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/math-acc.mkvi b/Master/texmf-dist/tex/context/base/mkiv/math-acc.mkvi index 415f2b91f2d..c3f8bad4042 100644 --- a/Master/texmf-dist/tex/context/base/mkiv/math-acc.mkvi +++ b/Master/texmf-dist/tex/context/base/mkiv/math-acc.mkvi @@ -178,4 +178,35 @@ \stopusemathstyleparameter \endgroup} +%D Relative new: + +\newconditional\c_math_accents_auto_dotless \settrue\c_math_accents_auto_dotless % cf opentype math + +\let\normalgrave \grave \unexpanded\def\dotlessgrave #1{\normalgrave {\mathdotless#1}} +\let\normalddot \ddot \unexpanded\def\dotlessddot #1{\normalddot {\mathdotless#1}} +\let\normalbar \bar \unexpanded\def\dotlessbar #1{\normalbar {\mathdotless#1}} +\let\normalacute \acute \unexpanded\def\dotlessacute #1{\normalacute {\mathdotless#1}} +\let\normalhat \hat \unexpanded\def\dotlesshat #1{\normalhat {\mathdotless#1}} +\let\normalcheck \check \unexpanded\def\dotlesscheck #1{\normalcheck {\mathdotless#1}} +\let\normalbreve \breve \unexpanded\def\dotlessbreve #1{\normalbreve {\mathdotless#1}} +\let\normaldot \dot \unexpanded\def\dotlessdot #1{\normaldot {\mathdotless#1}} +\let\normalmathring\mathring \unexpanded\def\dotlessmathring#1{\normalmathring{\mathdotless#1}} +\let\normaltilde \tilde \unexpanded\def\dotlesstilde #1{\normaltilde {\mathdotless#1}} +\let\normaldddot \dddot \unexpanded\def\dotlessdddot #1{\normaldddot {\mathdotless#1}} + +\def\math_accents_auto_dotless#1#2% + {\ifconditional\c_math_accents_auto_dotless\expandafter#2\else\expandafter#1\fi} + +\unexpanded\def\grave {\math_accents_auto_dotless\normalgrave \dotlessgrave } +\unexpanded\def\ddot {\math_accents_auto_dotless\normalddot \dotlessddot } +\unexpanded\def\bar {\math_accents_auto_dotless\normalbar \dotlessbar } +\unexpanded\def\acute {\math_accents_auto_dotless\normalacute \dotlessacute } +\unexpanded\def\hat {\math_accents_auto_dotless\normalhat \dotlesshat } +\unexpanded\def\check {\math_accents_auto_dotless\normalcheck \dotlesscheck } +\unexpanded\def\breve {\math_accents_auto_dotless\normalbreve \dotlessbreve } +\unexpanded\def\dot {\math_accents_auto_dotless\normaldot \dotlessdot } +\unexpanded\def\mathring{\math_accents_auto_dotless\normalmathring\dotlessmathring} +\unexpanded\def\tilde {\math_accents_auto_dotless\normaltilde \dotlesstilde } +\unexpanded\def\dddot {\math_accents_auto_dotless\normaldddot \dotlessdddot } + \protect \endinput |