Timeline for LuaTeX with unicode-math, how to get the font id of current math font
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 25, 2011 at 18:25 | vote | accept | Yan Zhou | ||
| Sep 25, 2011 at 18:22 | comment | added | egreg | @JosephWright I did, and added more information. :) | |
| Sep 25, 2011 at 18:20 | answer | added | egreg | timeline score: 13 | |
| Sep 25, 2011 at 18:17 | history | edited | Yan Zhou | CC BY-SA 3.0 | added 140 characters in body |
| Sep 25, 2011 at 18:16 | comment | added | Joseph Wright♦ | @egreg Could you make your comment into an answer? (I'd not that Unicode adds 'extra fun' to math fonts, as standard LaTeX at least has a notion of 'bold math', whereas in Unicode this is a property of the symbol, and so you can't even pick that up!) | |
| Sep 25, 2011 at 18:11 | history | edited | Yan Zhou | CC BY-SA 3.0 | added 140 characters in body |
| Sep 25, 2011 at 16:58 | comment | added | Yan Zhou | @egreg but should not the math font used be contained in lua's font table or somewhre? For example, after serialize the fonts.identifier table, I found that key 38 is a table containing infos, etc of Cambria math. Shouldn't i be able to find this number 38 without serialize the fonts table and look into it manually? | |
| Sep 25, 2011 at 16:46 | comment | added | egreg | No, it doesn't. | |
| Sep 25, 2011 at 16:44 | comment | added | Yan Zhou | @egreg thanks for the comment. I modified the question to make it clear that I was using unicode opentype math font with the unicode-math package. I should have included this info when I ask the question. Does this make any difference? | |
| Sep 25, 2011 at 16:42 | history | edited | Yan Zhou | CC BY-SA 3.0 | added 55 characters in body; edited tags; edited title |
| Sep 25, 2011 at 16:27 | comment | added | egreg | There is no notion for the current math font in TeX and, I believe, also in LuaTeX; fonts are assigned at the end of the formula using the concept of math family. In standard TeX, for example, $a$ and $\Gamma$ are selected from different fonts. | |
| Sep 25, 2011 at 16:18 | history | edited | diabonas | edited tags | |
| Sep 25, 2011 at 16:09 | history | asked | Yan Zhou | CC BY-SA 3.0 |