|
Re: Re: Re: Fontspec feature request?: msg#00191tex.xetex
25/10/2005, 4pm - Suki Venkat, [TnQ] wrote: Yes in mathmode I know that these things happen: If by "some program", you mean "by hand, manually", then you're right. I don't know of any program besides metafont and its derivatives that will create math font metrics for you, although I've been very wrong in the past... Fence construction in LaTeX is unsatisfactory, as it uses horrendous As a side note, I don't agree with this. Geometric transformations on anything to do with fonts to accommodate sizes and shapes you don't have always leads to poor output, in my opinion. (Cf. real versus fake italics and small caps.) It is also about time that the math is brought in line with text, I think we all agree on this :) It's just that it sounds like less work than it is. Anyway, there IS a way to set \mathit in fontspec (luckily, I I don't really know what's going on here. As far as I can fathom it's nothing to do with fontspec. I wouldn't have expected \documentclass{article} \usepackage{fontspec} \setromanfont{Times Roman} \begin{document} roman text \[ α+β=γ \] \end{document} to even give you sensible output in the first place. It's too low level TeX for me to know off the top of my head. There's a chance that the workings of inputenc's [math] option could be of help here, but not directly. I don't have time to look into it now, but there are others on this list who know more than me about why maths doesn't work for unicode fonts. The biggest and most overriding factor is that at the moment, XeTeX still uses \mathchar that it inherited from TeX to access symbols in a maths font. These fonts were limited to contain 256 glyphs each, and so \mathchar will similarly access only the first 256 glyphs in a font. Bruno Voisin's has posted at some stage a hack to allow the Apple Symbols as a replacement for many of the maths operators and relations, but it uses the same trick as your code: it inserts text mode glyphs into the maths stream with \text{} or \mathrm{}, so spacing, et al. will have to be done manually in the macros by hand. Good luck, Will |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Fontspec feature request?: 00191, Suki Venkat, [TnQ] |
|---|---|
| Next by Date: | Bibtex and Xelatex problems: 00191, Bernd |
| Previous by Thread: | Re: Re: Fontspec feature request?i: 00191, Suki Venkat, [TnQ] |
| Next by Thread: | Re: Re: Re: Fontspec feature request?: 00191, Suki Venkat, [TnQ] |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |