summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/kpfonts-math.lfg
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/fonts/mkiv/kpfonts-math.lfg')
-rw-r--r--tex/context/fonts/mkiv/kpfonts-math.lfg51
1 files changed, 14 insertions, 37 deletions
diff --git a/tex/context/fonts/mkiv/kpfonts-math.lfg b/tex/context/fonts/mkiv/kpfonts-math.lfg
index 7cb968860..409b17cbc 100644
--- a/tex/context/fonts/mkiv/kpfonts-math.lfg
+++ b/tex/context/fonts/mkiv/kpfonts-math.lfg
@@ -12,19 +12,11 @@ return {
copyright = "ConTeXt development team",
mathematics = {
parameters = {
- -- NoLimitSupFactor = 0,
- -- NoLimitSubFactor = 900,
- -- AccentBaseHeight = 0,
- AccentBaseDepth = 30,
- -- RadicalDegreeBottomRaisePercent = 70,
- -- RadicalRuleThickness = 50, -- 50 in font
- DelimiterPercent = 90,
- DelimiterShortfall = 400,
- -- DisplayOperatorMinHeight = 1800, -- 1500 in font (only one)
- -- PrimeRaisePercent = 25, -- set to 0 in math-act
- -- PrimeRaiseComposedPercent = 25, -- set to 0 in math-act
- PrimeShiftUp = "1.15*SuperscriptShiftUp",
- PrimeShiftUpCramped = "1.15*SuperscriptShiftUp",
+ AccentBaseDepth = 30,
+ DelimiterPercent = 90,
+ DelimiterShortfall = 400,
+ PrimeShiftUp = "1.15*SuperscriptShiftUp",
+ PrimeShiftUpCramped = "1.15*SuperscriptShiftUp",
SubscriptShiftDownWithSuperscript = "1.2*SubscriptShiftDown", -- unclear original value, trial and error
},
tweaks = {
@@ -61,7 +53,6 @@ return {
smaller = true, -- replace multiples
scale = 1, -- glyph scale
fake = 0.8, -- replace multiples with this width proportion
- -- keep = true, -- keep the text size prime (aka minute)
},
{
tweak = "addmirrors",
@@ -102,23 +93,15 @@ return {
{
tweak = "checkspacing",
},
-
-{
- tweak = "radicaldegreeanchors",
- list = {
- [0x221A] = { location = "left", hfactor = .0, vfactor = .75 },
- ["0x221A.variants.*"] = { location = "left", hfactor = .0, vfactor = .55 },
- ["0x221A.variants.1"] = { location = "left", hfactor = .0, vfactor = .6 },
- -- ["0x221A.variants.2"] = { location = "left", hfactor = .1, vfactor = .575 },
- -- ["0x221A.variants.3"] = { location = "left", hfactor = .1, vfactor = .55 },
- -- ["0x221A.variants.4"] = { location = "left", hfactor = .1, vfactor = .55 },
- -- ["0x221A.variants.5"] = { location = "left", hfactor = .1, vfactor = .55 },
- -- ["0x221A.variants.5"] = { location = "left", hfactor = .1, vfactor = .55 },
- -- ["0x221Aq.variants.6"] = { location = "left", hfactor = .1, vfactor = .55 },
- -- ["0x221A.parts.top"] = { location = "left", hfactor = .1, vfactor = 5.5 }, -- keep commented: bottom wins over top
- ["0x221A.parts.bottom"] = { location = "left", hfactor = .0, vfactor = 0.65 },
- }
-},
+ {
+ tweak = "radicaldegreeanchors",
+ list = {
+ [0x221A] = { location = "left", hfactor = .0, vfactor = .75 },
+ ["0x221A.variants.*"] = { location = "left", hfactor = .0, vfactor = .55 },
+ ["0x221A.variants.1"] = { location = "left", hfactor = .0, vfactor = .6 },
+ ["0x221A.parts.bottom"] = { location = "left", hfactor = .0, vfactor = 0.65 },
+ }
+ },
{
tweak = "addscripts",
@@ -151,12 +134,6 @@ return {
tweak = "setoptions",
set = { "ignorekerndimensions" }
},
- -- this is the mkiv section
--- {
--- tweak = "emulatelmtx",
--- feature = "emulatelmtx",
--- comment = "this is for mkiv",
--- },
},
},
alternates = {