diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/enco-def.tex')
-rw-r--r-- | Master/texmf-dist/tex/context/base/enco-def.tex | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/context/base/enco-def.tex b/Master/texmf-dist/tex/context/base/enco-def.tex index c111b6c441a..5d0dd51dfba 100644 --- a/Master/texmf-dist/tex/context/base/enco-def.tex +++ b/Master/texmf-dist/tex/context/base/enco-def.tex @@ -101,7 +101,7 @@ \definecharacter perthousand {\fakeperthousand} \definecharacter softhyphen 45 -\definecharacter periodcentered {\mathematics\cdot} +\definecharacter periodcentered {\hbox{\mathematics\cdot}} \definecharacter compoundwordmark 23 \definecharacter textasciicircum 94 @@ -895,4 +895,20 @@ \stopencoding +%D Goodie (makes more sense): + +\def\normalcontrolspace + {\getglyph{ComputerModernMono}{\char32}} + +\def\fakedcontrolspace % can be virtual in luatex + {\dontleavehmode\hbox + {\scratchdimen.1ex% + \kern\scratchdimen + \vrule \!!width\scratchdimen \!!height5.5\scratchdimen \!!depth3\scratchdimen + \vrule \!!width\dimexpr.5em-4\scratchdimen\relax \!!height-2\scratchdimen \!!depth3\scratchdimen + \vrule \!!width\scratchdimen \!!height5.5\scratchdimen \!!depth3\scratchdimen + \kern\scratchdimen}} + +\def\fakecontrolspace{\let\normalcontrolspace\fakedcontrolspace} + \endinput |