if not modules then modules = { } end modules ['math-ttv'] = { version = 1.001, comment = "traditional tex vectors, companion to math-vfu.lua", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files", dataonly = true, } local vfmath = fonts.handlers.vf.math local setletters = vfmath.setletters local setdigits = vfmath.setdigits local mathencodings = fonts.encodings.math local nps = fonts.helpers.newprivateslot -- mathencodings["large-to-small-private"] = { -- [0xFE07A] = 0x7A, -- bracehtipdownleft -- [0xFE07B] = 0x7B, -- bracehtipdownright -- [0xFE07C] = 0x7C, -- bracehtipupleft -- [0xFE07D] = 0x7D, -- bracehtipupright -- } mathencodings["large-to-small-private"] = { [nps("ul brace piece")] = 0x7A, -- bracehtipdownleft [nps("ur brace piece")] = 0x7B, -- bracehtipdownright [nps("ll brace piece")] = 0x7C, -- bracehtipupleft [nps("lr brace piece")] = 0x7D, -- bracehtipupright } -- mathencodings["extensible-jmn-private"] = { -- [0xFE080] = 200, -- minusjmn -- [0xFE081] = 201, -- minusrightjmn -- [0xFE082] = 202, -- minusleftjmn -- [0xFE083] = 203, -- equaljmn -- [0xFE084] = 204, -- equalrightjmn -- [0xFE085] = 205, -- equalleftjmn -- [0xFE086] = 206, -- arrowleftjmn -- [0xFE087] = 207, -- arrowrightjmn -- [0xFE088] = 208, -- arrowdblleftjmn -- [0xFE089] = 209, -- arrowdblrightjmn -- } -- mathencodings["extensible-jmn-private"] = { -- [nps("rule middle piece")] = 200, -- minusjmn -- [nps("rule right piece")] = 201, -- minusrightjmn -- [nps("rule left piece")] = 202, -- minusleftjmn -- [nps("double rule middle piece")] = 203, -- equaljmn -- [nps("double rule right piece")] = 204, -- equalrightjmn -- [nps("double rule left piece")] = 205, -- equalleftjmn -- [nps("arrow left piece")] = 206, -- arrowleftjmn -- [nps("arrow right piece")] = 207, -- arrowrightjmn -- [nps("double arrow left piece")] = 208, -- arrowdblleftjmn -- [nps("double arrow right piece")] = 209, -- arrowdblrightjmn -- } -- varphi is part of the alphabet, contrary to the other var*s' mathencodings["large-to-small"] = { [0x00028] = 0x00, -- ( [0x00029] = 0x01, -- ) [0x0005B] = 0x02, -- [ [0x0005D] = 0x03, -- ] [0x0230A] = 0x04, -- lfloor [0x0230B] = 0x05, -- rfloor [0x02308] = 0x06, -- lceil [0x02309] = 0x07, -- rceil [0x0007B] = 0x08, -- { [0x0007D] = 0x09, -- } [0x027E8] = 0x0A, -- < [0x027E9] = 0x0B, -- > [0x0007C] = 0x0C, -- | -- [0x0] = 0x0D, -- lVert rVert Vert -- [0x0002F] = 0x0E, -- / [0x0005C] = 0x0F, -- \ -- [0x0] = 0x3A, -- lgroup -- [0x0] = 0x3B, -- rgroup -- [0x0] = 0x3C, -- arrowvert -- [0x0] = 0x3D, -- Arrowvert [0x02195] = 0x3F, -- updownarrow -- [0x0] = 0x40, -- lmoustache -- [0x0] = 0x41, -- rmoustache [0x0221A] = 0x70, -- sqrt [0x021D5] = 0x77, -- Updownarrow [0x02191] = 0x78, -- uparrow [0x02193] = 0x79, -- downarrow [0x021D1] = 0x7E, -- Uparrow [0x021D3] = 0x7F, -- Downarrow [0x0220F] = 0x59, -- prod [0x02210] = 0x61, -- coprod [0x02211] = 0x58, -- sum [0x0222B] = 0x5A, -- intop [0x0222E] = 0x49, -- ointop [0x00302] = 0x62, -- widehat [0x00303] = 0x65, -- widetilde [0x022C0] = 0x5E, -- bigwedge [0x022C1] = 0x5F, -- bigvee [0x022C2] = 0x5C, -- bigcap [0x022C3] = 0x5B, -- bigcup [0x02044] = 0x0E, -- / } -- Beware: these are (in cm/lm) below the baseline due to limitations -- in the tfm format but the engine (combined with the mathclass) takes -- care of it. If we need them in textmode, we should make them virtual -- and move them up but we're in no hurry with that. mathencodings["tex-ex"] = { [0x0220F] = 0x51, -- prod [0x02210] = 0x60, -- coprod [0x02211] = 0x50, -- sum [0x0222B] = 0x52, -- intop [0x0222E] = 0x48, -- ointop [0x022C0] = 0x56, -- bigwedge [0x022C1] = 0x57, -- bigvee [0x022C2] = 0x54, -- bigcap [0x022C3] = 0x53, -- bigcup [0x02A00] = 0x4A, -- bigodot -- fixed BJ [0x02A01] = 0x4C, -- bigoplus [0x02A02] = 0x4E, -- bigotimes -- [0x02A03] = , -- bigudot -- [0x02A04] = 0x55, -- biguplus [0x02A06] = 0x46, -- bigsqcup } -- only math stuff is needed, since we always use an lm or gyre -- font as main font mathencodings["tex-mr"] = { [0x00393] = 0x00, -- Gamma [0x00394] = 0x01, -- Delta [0x02206] = 0x01, -- Laplace [0x00398] = 0x02, -- Theta [0x0039B] = 0x03, -- Lambda [0x0039E] = 0x04, -- Xi [0x003A0] = 0x05, -- Pi [0x003A3] = 0x06, -- Sigma [0x003A5] = 0x07, -- Upsilon [0x003A6] = 0x08, -- Phi [0x003A8] = 0x09, -- Psi [0x003A9] = 0x0A, -- Omega -- [0x00060] = 0x12, -- [math]grave -- [0x000B4] = 0x13, -- [math]acute -- [0x002C7] = 0x14, -- [math]check -- [0x002D8] = 0x15, -- [math]breve -- [0x000AF] = 0x16, -- [math]bar [0x00021] = 0x21, -- ! -- MS [0x00026] = 0x26, -- & -- MS [0x00028] = 0x28, -- ( [0x00029] = 0x29, -- ) [0x0002B] = 0x2B, -- + [0x0002F] = 0x2F, -- / [0x0003A] = 0x3A, -- : [0x02236] = 0x3A, -- colon [0x0003B] = 0x3B, -- ; [0x0003C] = 0x3C, -- < [0x0003D] = 0x3D, -- = [0x0003E] = 0x3E, -- > [0x0003F] = 0x3F, -- ? [0x00391] = 0x41, -- Alpha [0x00392] = 0x42, -- Beta [0x02145] = 0x44, [0x00395] = 0x45, -- Epsilon [0x00397] = 0x48, -- Eta [0x00399] = 0x49, -- Iota [0x0039A] = 0x4B, -- Kappa [0x0039C] = 0x4D, -- Mu [0x0039D] = 0x4E, -- Nu [0x0039F] = 0x4F, -- Omicron [0x003A1] = 0x52, -- Rho [0x003A4] = 0x54, -- Tau [0x003A7] = 0x58, -- Chi [0x00396] = 0x5A, -- Zeta [0x0005B] = 0x5B, -- [ [0x0005D] = 0x5D, -- ] -- [0x0005E] = 0x5E, -- [math]hat -- the text one [0x00302] = 0x5E, -- [math]hat -- the real math one -- [0x002D9] = 0x5F, -- [math]dot [0x02146] = 0x64, [0x02147] = 0x65, -- [0x002DC] = 0x7E, -- [math]tilde -- the text one [0x00303] = 0x7E, -- [math]tilde -- the real one -- [0x000A8] = 0x7F, -- [math]ddot } mathencodings["tex-mr-missing"] = { [0x02236] = 0x3A, -- colon } mathencodings["tex-ex-braces"] = { [0x0007B] = 0x7B, -- {, braceleftbig [0x0007D] = 0x7D, -- }, bracerightbig } mathencodings["tex-mi"] = { [0x1D6E4] = 0x00, -- Gamma [0x1D6E5] = 0x01, -- Delta [0x1D6E9] = 0x02, -- Theta [0x1D6F3] = 0x02, -- varTheta (not present in TeX) [0x1D6EC] = 0x03, -- Lambda [0x1D6EF] = 0x04, -- Xi [0x1D6F1] = 0x05, -- Pi [0x1D6F4] = 0x06, -- Sigma [0x1D6F6] = 0x07, -- Upsilon [0x1D6F7] = 0x08, -- Phi [0x1D6F9] = 0x09, -- Psi [0x1D6FA] = 0x0A, -- Omega [0x1D6FC] = 0x0B, -- alpha [0x1D6FD] = 0x0C, -- beta [0x1D6FE] = 0x0D, -- gamma [0x1D6FF] = 0x0E, -- delta [0x1D716] = 0x0F, -- epsilon TODO: 1D716 [0x1D701] = 0x10, -- zeta [0x1D702] = 0x11, -- eta [0x1D703] = 0x12, -- theta TODO: 1D703 [0x1D704] = 0x13, -- iota [0x1D705] = 0x14, -- kappa [0x1D718] = 0x14, -- varkappa, not in tex fonts [0x1D706] = 0x15, -- lambda [0x1D707] = 0x16, -- mu [0x1D708] = 0x17, -- nu [0x1D709] = 0x18, -- xi [0x1D70B] = 0x19, -- pi [0x1D70C] = 0x1A, -- rho [0x1D70E] = 0x1B, -- sigma [0x1D70F] = 0x1C, -- tau [0x1D710] = 0x1D, -- upsilon [0x1D719] = 0x1E, -- phi [0x1D712] = 0x1F, -- chi [0x1D713] = 0x20, -- psi [0x1D714] = 0x21, -- omega [0x1D700] = 0x22, -- varepsilon (the other way around) [0x1D717] = 0x23, -- vartheta [0x1D71B] = 0x24, -- varpi [0x1D71A] = 0x25, -- varrho [0x1D70D] = 0x26, -- varsigma [0x1D711] = 0x27, -- varphi (the other way around) [0x021BC] = 0x28, -- leftharpoonup [0x021BD] = 0x29, -- leftharpoondown [0x021C0] = 0x2A, -- rightharpoonup [0x021C1] = 0x2B, -- rightharpoondown -- [0xFE322] = 0x2C, -- lhook (hook for combining arrows) -- [0xFE323] = 0x2D, -- rhook (hook for combining arrows) [nps("left hook piece")] = 0x2C, -- bracehtipdownleft [nps("right hook piece")] = 0x2D, -- bracehtipdownleft [0x025B7] = 0x2E, -- triangleright : cf lmmath / BJ [0x025C1] = 0x2F, -- triangleleft : cf lmmath / BJ [0x022B3] = 0x2E, -- triangleright : cf lmmath this a cramped triangles / BJ / see * [0x022B2] = 0x2F, -- triangleleft : cf lmmath this a cramped triangles / BJ / see * -- [0x00041] = 0x30, -- 0 -- [0x00041] = 0x31, -- 1 -- [0x00041] = 0x32, -- 2 -- [0x00041] = 0x33, -- 3 -- [0x00041] = 0x34, -- 4 -- [0x00041] = 0x35, -- 5 -- [0x00041] = 0x36, -- 6 -- [0x00041] = 0x37, -- 7 -- [0x00041] = 0x38, -- 8 -- [0x00041] = 0x39, -- 9 --~ [0x0002E] = 0x3A, -- . [0x0002C] = 0x3B, -- , [0x0003C] = 0x3C, -- < -- [0x0002F] = 0x3D, -- /, slash, solidus [0x02044] = 0x3D, -- / AM: Not sure [0x0003E] = 0x3E, -- > [0x022C6] = 0x3F, -- star [0x02202] = 0x40, -- partial -- [0x0266D] = 0x5B, -- flat [0x0266E] = 0x5C, -- natural [0x0266F] = 0x5D, -- sharp [0x02323] = 0x5E, -- smile [0x02322] = 0x5F, -- frown [0x02113] = 0x60, -- ell -- [0x1D6A4] = 0x7B, -- imath (TODO: also 0131) [0x1D6A5] = 0x7C, -- jmath (TODO: also 0237) [0x02118] = 0x7D, -- wp [0x020D7] = 0x7E, -- vec (TODO: not sure) -- 0x7F, -- (no idea what that could be) } mathencodings["tex-it"] = { -- [0x1D434] = 0x41, -- A [0x1D6E2] = 0x41, -- Alpha -- [0x1D435] = 0x42, -- B [0x1D6E3] = 0x42, -- Beta -- [0x1D436] = 0x43, -- C -- [0x1D437] = 0x44, -- D -- [0x1D438] = 0x45, -- E [0x1D6E6] = 0x45, -- Epsilon -- [0x1D439] = 0x46, -- F -- [0x1D43A] = 0x47, -- G -- [0x1D43B] = 0x48, -- H [0x1D6E8] = 0x48, -- Eta -- [0x1D43C] = 0x49, -- I [0x1D6EA] = 0x49, -- Iota -- [0x1D43D] = 0x4A, -- J -- [0x1D43E] = 0x4B, -- K [0x1D6EB] = 0x4B, -- Kappa -- [0x1D43F] = 0x4C, -- L -- [0x1D440] = 0x4D, -- M [0x1D6ED] = 0x4D, -- Mu -- [0x1D441] = 0x4E, -- N [0x1D6EE] = 0x4E, -- Nu -- [0x1D442] = 0x4F, -- O [0x1D6F0] = 0x4F, -- Omicron -- [0x1D443] = 0x50, -- P [0x1D6F2] = 0x50, -- Rho -- [0x1D444] = 0x51, -- Q -- [0x1D445] = 0x52, -- R -- [0x1D446] = 0x53, -- S -- [0x1D447] = 0x54, -- T [0x1D6F5] = 0x54, -- Tau -- [0x1D448] = 0x55, -- U -- [0x1D449] = 0x56, -- V -- [0x1D44A] = 0x57, -- W -- [0x1D44B] = 0x58, -- X [0x1D6F8] = 0x58, -- Chi -- [0x1D44C] = 0x59, -- Y -- [0x1D44D] = 0x5A, -- Z -- -- [0x1D44E] = 0x61, -- a -- [0x1D44F] = 0x62, -- b -- [0x1D450] = 0x63, -- c -- [0x1D451] = 0x64, -- d -- [0x1D452] = 0x65, -- e -- [0x1D453] = 0x66, -- f -- [0x1D454] = 0x67, -- g -- [0x1D455] = 0x68, -- h [0x0210E] = 0x68, -- Planck constant (h) -- [0x1D456] = 0x69, -- i -- [0x1D457] = 0x6A, -- j -- [0x1D458] = 0x6B, -- k -- [0x1D459] = 0x6C, -- l -- [0x1D45A] = 0x6D, -- m -- [0x1D45B] = 0x6E, -- n -- [0x1D45C] = 0x6F, -- o [0x1D70A] = 0x6F, -- omicron -- [0x1D45D] = 0x70, -- p -- [0x1D45E] = 0x71, -- q -- [0x1D45F] = 0x72, -- r -- [0x1D460] = 0x73, -- s -- [0x1D461] = 0x74, -- t -- [0x1D462] = 0x75, -- u -- [0x1D463] = 0x76, -- v -- [0x1D464] = 0x77, -- w -- [0x1D465] = 0x78, -- x -- [0x1D466] = 0x79, -- y -- [0x1D467] = 0x7A, -- z } mathencodings["tex-tf"] = { } mathencodings["tex-ss"] = { } mathencodings["tex-tt"] = { } mathencodings["tex-bf"] = { } mathencodings["tex-bi"] = { } mathencodings["tex-fraktur"] = { } mathencodings["tex-fraktur-bold"] = { } mathencodings["tex-sy"] = { [0x0002D] = 0x00, -- - [0x02212] = 0x00, -- - -- [0x02201] = 0x00, -- complement -- [0x02206] = 0x00, -- increment -- [0x02204] = 0x00, -- not exists -- [0x000B7] = 0x01, -- cdot [0x022C5] = 0x01, -- cdot [0x000D7] = 0x02, -- times [0x0002A] = 0x03, -- * [0x02217] = 0x03, -- * [0x000F7] = 0x04, -- div [0x022C4] = 0x05, -- diamond [0x000B1] = 0x06, -- pm [0x02213] = 0x07, -- mp [0x02295] = 0x08, -- oplus [0x02296] = 0x09, -- ominus [0x02297] = 0x0A, -- otimes [0x02298] = 0x0B, -- oslash [0x02299] = 0x0C, -- odot [0x025EF] = 0x0D, -- bigcirc, Orb (either 25EF or 25CB) -- todo [0x02218] = 0x0E, -- circ [0x02219] = 0x0F, -- bullet [0x02022] = 0x0F, -- bullet [0x0224D] = 0x10, -- asymp [0x02261] = 0x11, -- equiv [0x02286] = 0x12, -- subseteq [0x02287] = 0x13, -- supseteq [0x02264] = 0x14, -- leq [0x02265] = 0x15, -- geq [0x02AAF] = 0x16, -- preceq -- [0x0227C] = 0x16, -- preceq, AM:No see 2AAF [0x02AB0] = 0x17, -- succeq -- [0x0227D] = 0x17, -- succeq, AM:No see 2AB0 [0x0223C] = 0x18, -- sim [0x02248] = 0x19, -- approx [0x02282] = 0x1A, -- subset [0x02283] = 0x1B, -- supset [0x0226A] = 0x1C, -- ll [0x0226B] = 0x1D, -- gg [0x0227A] = 0x1E, -- prec [0x0227B] = 0x1F, -- succ [0x02190] = 0x20, -- leftarrow [0x02192] = 0x21, -- rightarrow --~ [0xFE190] = 0x20, -- leftarrow --~ [0xFE192] = 0x21, -- rightarrow [0x02191] = 0x22, -- uparrow [0x02193] = 0x23, -- downarrow [0x02194] = 0x24, -- leftrightarrow [0x02197] = 0x25, -- nearrow [0x02198] = 0x26, -- searrow [0x02243] = 0x27, -- simeq [0x021D0] = 0x28, -- Leftarrow [0x021D2] = 0x29, -- Rightarrow [0x021D1] = 0x2A, -- Uparrow [0x021D3] = 0x2B, -- Downarrow [0x021D4] = 0x2C, -- Leftrightarrow [0x02196] = 0x2D, -- nwarrow [0x02199] = 0x2E, -- swarrow [0x0221D] = 0x2F, -- propto [0x02032] = 0x30, -- prime [0x0221E] = 0x31, -- infty [0x02208] = 0x32, -- in [0x0220B] = 0x33, -- ni [0x025B3] = 0x34, -- triangle, bigtriangleup [0x025BD] = 0x35, -- bigtriangledown [0x00338] = 0x36, -- not -- 0x37, -- (beginning of arrow) [0x02200] = 0x38, -- forall [0x02203] = 0x39, -- exists [0x000AC] = 0x3A, -- neg, lnot [0x02205] = 0x3B, -- empty set [0x0211C] = 0x3C, -- Re [0x02111] = 0x3D, -- Im [0x022A4] = 0x3E, -- top [0x022A5] = 0x3F, -- bot, perp [0x02135] = 0x40, -- aleph [0x1D49C] = 0x41, -- script A [0x0212C] = 0x42, -- script B [0x1D49E] = 0x43, -- script C [0x1D49F] = 0x44, -- script D [0x02130] = 0x45, -- script E [0x02131] = 0x46, -- script F [0x1D4A2] = 0x47, -- script G [0x0210B] = 0x48, -- script H [0x02110] = 0x49, -- script I [0x1D4A5] = 0x4A, -- script J [0x1D4A6] = 0x4B, -- script K [0x02112] = 0x4C, -- script L [0x02133] = 0x4D, -- script M [0x1D4A9] = 0x4E, -- script N [0x1D4AA] = 0x4F, -- script O [0x1D4AB] = 0x50, -- script P [0x1D4AC] = 0x51, -- script Q [0x0211B] = 0x52, -- script R [0x1D4AE] = 0x53, -- script S [0x1D4AF] = 0x54, -- script T [0x1D4B0] = 0x55, -- script U [0x1D4B1] = 0x56, -- script V [0x1D4B2] = 0x57, -- script W [0x1D4B3] = 0x58, -- script X [0x1D4B4] = 0x59, -- script Y [0x1D4B5] = 0x5A, -- script Z [0x0222A] = 0x5B, -- cup [0x02229] = 0x5C, -- cap [0x0228E] = 0x5D, -- uplus [0x02227] = 0x5E, -- wedge, land [0x02228] = 0x5F, -- vee, lor [0x022A2] = 0x60, -- vdash [0x022A3] = 0x61, -- dashv [0x0230A] = 0x62, -- lfloor [0x0230B] = 0x63, -- rfloor [0x02308] = 0x64, -- lceil [0x02309] = 0x65, -- rceil [0x0007B] = 0x66, -- {, lbrace [0x0007D] = 0x67, -- }, rbrace [0x027E8] = 0x68, -- <, langle [0x027E9] = 0x69, -- >, rangle [0x0007C] = 0x6A, -- |, mid, lvert, rvert [0x02225] = 0x6B, -- parallel -- [0x0 ] = 0x00, -- Vert, lVert, rVert, arrowvert, Arrowvert [0x02195] = 0x6C, -- updownarrow [0x021D5] = 0x6D, -- Updownarrow [0x0005C] = 0x6E, -- \, backslash, setminus [0x02216] = 0x6E, -- setminus [0x02240] = 0x6F, -- wr [0x0221A] = 0x70, -- sqrt. AM: Check surd?? [0x02A3F] = 0x71, -- amalg [0x02207] = 0x72, -- nabla (upright) [0x1D6FB] = 0x72, -- nabla (italic) -- [0x0222B] = 0x73, -- smallint (TODO: what about intop?) [0x02294] = 0x74, -- sqcup [0x02293] = 0x75, -- sqcap [0x02291] = 0x76, -- sqsubseteq [0x02292] = 0x77, -- sqsupseteq [0x000A7] = 0x78, -- S [0x02020] = 0x79, -- dagger, dag [0x02021] = 0x7A, -- ddagger, ddag [0x000B6] = 0x7B, -- P [0x02663] = 0x7C, -- clubsuit [0x02662] = 0x7D, -- diamondsuit [0x02661] = 0x7E, -- heartsuit [0x02660] = 0x7F, -- spadesuit -- [0xFE321] = 0x37, -- mapstochar -- [0xFE325] = 0x30, -- prime 0x02032 [nps("maps to piece")] = 0x37, -- mapstochar } mathencodings["tex-fraktur"] = { -- [0x1D504] = 0x41, -- A (fraktur A) -- [0x1D505] = 0x42, -- B [0x0212D] = 0x43, -- C -- [0x1D507] = 0x44, -- D -- [0x1D508] = 0x45, -- E -- [0x1D509] = 0x46, -- F -- [0x1D50A] = 0x47, -- G [0x0210C] = 0x48, -- H [0x02111] = 0x49, -- I -- [0x1D50D] = 0x4A, -- J -- [0x1D50E] = 0x4B, -- K -- [0x1D50F] = 0x4C, -- L -- [0x1D510] = 0x4D, -- M -- [0x1D511] = 0x4E, -- N -- [0x1D512] = 0x4F, -- O -- [0x1D513] = 0x50, -- P -- [0x1D514] = 0x51, -- Q [0x0211C] = 0x52, -- R -- [0x1D516] = 0x53, -- S -- [0x1D517] = 0x54, -- T -- [0x1D518] = 0x55, -- U -- [0x1D519] = 0x56, -- V -- [0x1D51A] = 0x57, -- W -- [0x1D51B] = 0x58, -- X -- [0x1D51C] = 0x59, -- Y [0x02128] = 0x5A, -- Z (fraktur Z) -- [0x1D51E] = 0x61, -- a (fraktur a) -- [0x1D51F] = 0x62, -- b -- [0x1D520] = 0x63, -- c -- [0x1D521] = 0x64, -- d -- [0x1D522] = 0x65, -- e -- [0x1D523] = 0x66, -- f -- [0x1D524] = 0x67, -- g -- [0x1D525] = 0x68, -- h -- [0x1D526] = 0x69, -- i -- [0x1D527] = 0x6A, -- j -- [0x1D528] = 0x6B, -- k -- [0x1D529] = 0x6C, -- l -- [0x1D52A] = 0x6D, -- m -- [0x1D52B] = 0x6E, -- n -- [0x1D52C] = 0x6F, -- o -- [0x1D52D] = 0x70, -- p -- [0x1D52E] = 0x71, -- q -- [0x1D52F] = 0x72, -- r -- [0x1D530] = 0x73, -- s -- [0x1D531] = 0x74, -- t -- [0x1D532] = 0x75, -- u -- [0x1D533] = 0x76, -- v -- [0x1D534] = 0x77, -- w -- [0x1D535] = 0x78, -- x -- [0x1D536] = 0x79, -- y -- [0x1D537] = 0x7A, -- z } -- now that all other vectors are defined ... setletters(mathencodings, "tex-tf", 0x00041, 0x00061) setletters(mathencodings, "tex-mr", 0x00041, 0x00061) setletters(mathencodings, "tex-it", 0x1D434, 0x1D44E) setletters(mathencodings, "tex-ss", 0x1D5A0, 0x1D5BA) setletters(mathencodings, "tex-tt", 0x1D670, 0x1D68A) setletters(mathencodings, "tex-bf", 0x1D400, 0x1D41A) setletters(mathencodings, "tex-bi", 0x1D468, 0x1D482) setletters(mathencodings, "tex-fraktur", 0x1D504, 0x1D51E) setletters(mathencodings, "tex-fraktur-bold", 0x1D56C, 0x1D586) setdigits (mathencodings, "tex-mr", 0x00030) setdigits (mathencodings, "tex-tf", 0x00030) setdigits (mathencodings, "tex-ss", 0x1D7E2) setdigits (mathencodings, "tex-tt", 0x1D7F6) setdigits (mathencodings, "tex-bf", 0x1D7CE) -- setdigits (mathencodings, "tex-bi", 0x1D7CE) -- todo: add ss, tt, bf etc vectors -- todo: we can make ss tt etc an option