summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/fonts/lm.lfg
blob: 8d761471848e55f4a5cc7bf72ec00cceaf30ed64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
-- In order to be able to use beta math fonts, we use our own file name and
-- always remap.

return {
    name = "latin modern",
    version = "1.00",
    comment = "Goodies that complement latin modern.",
    author = "Hans Hagen",
    copyright = "ConTeXt development team",
    mathematics = {
        tweaks = {
            aftercopying = {
                mathematics.tweaks.fixbadprime, -- prime is too low
            --  mathematics.tweaks.fixoverline,
            },
        },
        dimensions = {
            -- always applied
         -- default = {
         -- },
            -- driven by 'mathdimensions' feature
            signs   = {
                -- set dimensions
             -- [0x00B1] = { -- ±
             --     height = 500, depth = 0,
             -- },
             -- [0x2213] = { -- ∓
             --     height = 500, depth = 0,
             -- },
                -- move in boundingbox
                [0x00B1] = { -- ±
                    yoffset =  100,
                },
                [0x2213] = { -- ∓
                    yoffset = -100,
                },
            }
        }
    },
    filenames = {
        ["latinmodern-math-regular.otf"] = {
            "latinmodern-math.otf", -- the beta
            "lmmath-regular.otf",
            "latinmodernmath-regular.otf",
            "lmmath-regular.otf",
            "lmodernmath-regular.otf",
            "lmodern-math.otf",
        },
    },
    designsizes = {
        ["LMMathRoman-Regular"] = {
            ["4pt"]  = "LMMath5-Regular@lmroman5-math",
            ["5pt"]  = "LMMath5-Regular@lmroman5-math",
            ["6pt"]  = "LMMath6-Regular@lmroman6-math",
            ["7pt"]  = "LMMath7-Regular@lmroman7-math",
            ["8pt"]  = "LMMath8-Regular@lmroman8-math",
            ["9pt"]  = "LMMath9-Regular@lmroman9-math",
            ["10pt"] = "LMMath10-Regular@lmroman10-math",
            ["11pt"] = "LMMath10-Regular@lmroman10-math",
            ["12pt"] = "LMMath12-Regular@lmroman12-math",
            default  = "LMMath10-Regular@lmroman10-math"
        },
        ["LMMathRoman-Bold"] = { -- not yet ready
            ["4pt"]  = "LMMath5-Regular@lmroman5-math",
            ["5pt"]  = "LMMath5-Regular@lmroman5-math",
            ["6pt"]  = "LMMath6-Regular@lmroman6-math",
            ["7pt"]  = "LMMath7-Regular@lmroman7-math",
            ["8pt"]  = "LMMath8-Regular@lmroman8-math",
            ["9pt"]  = "LMMath9-Regular@lmroman9-math",
            ["10pt"] = "LMMath10-Regular@lmroman10-math",
            ["11pt"] = "LMMath10-Regular@lmroman10-math",
            ["12pt"] = "LMMath12-Regular@lmroman12-math",
            default  = "LMMath10-Regular@lmroman10-math"
        },
        ["LMRoman-Regular"] = {
            ["4pt"]  = "file:lmroman5-regular",
            ["5pt"]  = "file:lmroman5-regular",
            ["6pt"]  = "file:lmroman6-regular",
            ["7pt"]  = "file:lmroman7-regular",
            ["8pt"]  = "file:lmroman8-regular",
            ["9pt"]  = "file:lmroman9-regular",
            ["10pt"] = "file:lmroman10-regular",
            ["11pt"] = "file:lmroman10-regular",
            ["12pt"] = "file:lmroman12-regular",
            default  = "file:lmroman10-regular",
        },
        ["LMRoman-Bold"] = {
            ["4pt"]  = "file:lmroman5-bold",
            ["5pt"]  = "file:lmroman5-bold",
            ["6pt"]  = "file:lmroman6-bold",
            ["7pt"]  = "file:lmroman7-bold",
            ["8pt"]  = "file:lmroman8-bold",
            ["9pt"]  = "file:lmroman9-bold",
            ["10pt"] = "file:lmroman10-bold",
            ["11pt"] = "file:lmroman10-bold",
            ["12pt"] = "file:lmroman12-bold",
            default  = "file:lmroman10-bold",
        },
        ["LMRoman-Demi"] = {
            default  = "file:lmromandemi10-regular",
        },
        ["LMRoman-Italic"] = {
            ["4pt"]  = "file:lmroman7-italic",
            ["5pt"]  = "file:lmroman7-italic",
            ["6pt"]  = "file:lmroman7-italic",
            ["7pt"]  = "file:lmroman7-italic",
            ["8pt"]  = "file:lmroman8-italic",
            ["9pt"]  = "file:lmroman9-italic",
            ["10pt"] = "file:lmroman10-italic",
            ["11pt"] = "file:lmroman10-italic",
            ["12pt"] = "file:lmroman12-italic",
            default  = "file:lmroman10-italic",
        },
        ["LMRoman-Oblique"] = {
            ["4pt"]  = "file:lmromanslant8-regular",
            ["5pt"]  = "file:lmromanslant8-regular",
            ["6pt"]  = "file:lmromanslant8-regular",
            ["7pt"]  = "file:lmromanslant8-regular",
            ["8pt"]  = "file:lmromanslant8-regular",
            ["9pt"]  = "file:lmromanslant9-regular",
            ["10pt"] = "file:lmromanslant10-regular",
            ["11pt"] = "file:lmromanslant10-regular",
            ["12pt"] = "file:lmromanslant12-regular",
            default  = "file:lmromanslant10-regular",
        },
        ["LMRoman-BoldItalic"] = {
            default  = "file:lmroman10-bolditalic",
        },
        ["LMRoman-BoldOblique"] = {
            default  = "file:lmromanslant10-bold",
        },
        ["LMRoman-DemiOblique"] = {
            default  = "file:lmromandemi10-oblique",
        },
        ["LMRoman-CapsRegular"] = {
            default  = "file:lmromancaps10-regular",
        },
        ["LMRoman-CapsOblique"] = {
            default  = "file:lmromancaps10-oblique",
        },
        ["LMRoman-Dunhill"] = {
            default  = "file:lmromandunh10-regular",
        },
        ["LMRoman-DunhillOblique"] = {
            default  = "file:lmromandunh10-oblique",
        },
        ["LMRoman-Unslanted"] = {
            default  = "file:lmromanunsl10-regular",
        },
        ["LMSans-Regular"] = {
            ["8pt"]  = "file:lmsans8-regular",
            ["9pt"]  = "file:lmsans9-regular",
            ["10pt"] = "file:lmsans10-regular",
            ["11pt"] = "file:lmsans10-regular",
            ["12pt"] = "file:lmsans12-regular",
            default  = "file:lmsans10-regular",
        },
        ["LMSans-Oblique"] = {
            ["8pt"]  = "file:lmsans8-oblique",
            ["9pt"]  = "file:lmsans9-oblique",
            ["10pt"] = "file:lmsans10-oblique",
            ["11pt"] = "file:lmsans10-oblique",
            ["12pt"] = "file:lmsans12-oblique",
            default  = "file:lmsans10-oblique",
        },
        ["LMSans-Bold"] = {
            default  = "file:lmsans10-bold",
        },
        ["LMSans-BoldOblique"] = {
            default  = "file:lmsans10-boldoblique",
        },
        ["LMSans-DemiCondensed"] = {
            default  = "file:lmsansdemicond10-regular",
        },
        ["LMSans-DemiCondensedOblique"] = {
            default  = "file:lmsansdemicond10-oblique",
        },
        ["LMTypewriter-Regular"] = {
            ["8pt"]  = "file:lmmono8-regular",
            ["9pt"]  = "file:lmmono9-regular",
            ["10pt"] = "file:lmmono10-regular",
            ["11pt"] = "file:lmmono10-regular",
            ["12pt"] = "file:lmmono12-regular",
            default  = "file:lmmono10-regular",
        },
        ["LMTypewriter-Light"] = {
            default  = "file:lmmonolt10-regular",
        },
        ["LMTypewriter-Dark"] = {
            default  = "file:lmmonolt10-bold",
        },
        ["LMTypewriter-Italic"] = {
            default  = "file:lmmono10-italic",
        },
        ["LMTypewriter-LightOblique"] = {
            default  = "file:lmmonolt10-oblique",
        },
        ["LMTypewriter-Oblique"] = {
            default  = "file:lmmonoslant10-regular",
        },
        ["LMTypewriter-DarkOblique"] = {
            default  = "file:lmmonolt10-boldoblique",
        },
        ["LMTypewriter-LightCondensed"] = {
            default  = "file:lmmonoltcond10-regular",
        },
        ["LMTypewriter-LightCondensedOblique"] = {
            default  = "file:lmmonoltcond10-oblique",
        },
        ["LMTypewriterVarWd-Regular"] = {
            default  = "file:lmmonoproplt10-regular",
        },
        ["LMTypewriterVarWd-Oblique"] = {
            default  = "file:lmmonoproplt10-oblique",
        },
        ["LMTypewriterVarWd-Light"] = {
            default  = "file:lmmonoprop10-regular",
        },
        ["LMTypewriterVarWd-LightOblique"] = {
            default  = "file:lmmonoprop10-oblique",
        },
        ["LMTypewriterVarWd-Dark"] = {
            default  = "file:lmmonoproplt10-bold",
        },
        ["LMTypewriterVarWd-DarkOblique"] = {
            default  = "file:lmmonoproplt10-boldoblique",
        },
        ["LMTypewriter-CapsRegular"] = {
            default  = "file:lmmonocaps10-regular",
        },
        ["LMTypewriter-CapsOblique"] = {
            default  = "file:lmmonocaps10-oblique",
        },
    }
}