1
2
3
4
5
6
7
8
9local function FixRadicalDisplayStyleVerticalGap(value,target,original)
10 local o = original.mathparameters.RadicalVerticalGap
11 return 2 * o * target.parameters.factor
12end
13
14return {
15 name = "lucida-opentype-math",
16 version = "1.00",
17 comment = "Goodies that complement lucida opentype.",
18 author = "Hans Hagen",
19 copyright = "ConTeXt development team",
20 mathematics = {
21 parameters = {
22 RadicalDisplayStyleVerticalGap = FixRadicalDisplayStyleVerticalGap,
23 },
24 alternates = {
25 italic = { feature = 'ss01', value = 1, comment = "Mathematical Alternative Lowercase Italic" },
26 arrow = { feature = 'ss02', value = 1, comment = "Mathematical Alternative Smaller Arrows" },
27 operator = { feature = 'ss03', value = 1, comment = "Mathematical Alternative Smaller Operators" },
28 calligraphic = { feature = 'ss04', value = 1, comment = "Mathematical Alternative Calligraphic Characters" },
29 zero = { feature = 'ss05', value = 1, comment = "Mathematical Alternative Zero" },
30 partial = { feature = 'ss20', value = 1, comment = "Mathematical Alternative Upright Partial Differential" },
31 },
32
33
34
35
36 dimensions = {
37 default = {
38 [0x02044] = { xoffset = 275, width = 600 },
39
40 [0xFE932] = { width = 200 },
41 [0xFE933] = { width = 500 },
42 [0xFE934] = { width = 800 },
43 [0xFE935] = { width = 1100 },
44
45 [0xFE935] = { width = 200 },
46 [0xFE936] = { width = 500 },
47 [0xFE937] = { width = 800 },
48 },
49 },
50 },
51}
52 |