diff options
Diffstat (limited to 'tex/context/base/s-fonts-ligatures.mkiv')
-rw-r--r-- | tex/context/base/s-fonts-ligatures.mkiv | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tex/context/base/s-fonts-ligatures.mkiv b/tex/context/base/s-fonts-ligatures.mkiv index 21d8efe34..3453aa010 100644 --- a/tex/context/base/s-fonts-ligatures.mkiv +++ b/tex/context/base/s-fonts-ligatures.mkiv @@ -70,9 +70,15 @@ \eTD \stoptexdefinition +\def\showotfligaturescells{3} +%def\showotfligaturesnx {12} +%def\showotfligatureswidth{18em} +\def\showotfligaturesnx {\the\numexpr 3*\showotfligaturescells} +\def\showotfligatureswidth{\the\dimexpr6em*\showotfligaturescells} + \starttexdefinition showotfligaturesbanner #1 \bTR[frame=off] - \bTD [nx=12,width=18em,align={middle,lohi},height=4ex] + \bTD [nx=\showotfligaturesnx,width=\showotfligatureswidth,align={middle,lohi},height=4ex] \tttf #1 \eTD \eTR @@ -132,7 +138,7 @@ \starttexdefinition showotfligaturesdefaults \bTR - \bTD [nx=12,width=18em,align=middle,height=4ex,frame=off] + \bTD [nx=\showotfligaturesnx,width=\showotfligatureswidth,align=middle,height=4ex,frame=off] \start \LigatureFont fb \stop \quad \start \LigatureFont ff \stop \quad \start \LigatureFont fi \stop \quad @@ -156,6 +162,8 @@ \showotfligaturesextremes {#2} \stoptexdefinition +% todo: n -> and split in lua + \starttexdefinition showotfligaturesexamples \showotfligaturesexample {leafing,baffling,efficient,shifffahrt} |