![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
On 18 juin 2010, at 17:43, Khaled Hosny wrote:
Compare the size of the primes with xits, cambria and modern, only the later is correct.
Hi Khaled, Hi Hans, Thank you so much to bith of you and all other people involved in the project for giving us so rapidly the ability to use stix, and xits, fonts. I tried for a week or so both stix and xits fonts on many of the documents I have in ConTeXt. I can say that as far as simple text is concerned everything works like a charm. However, regarding stix and xits there are some issues with math mode: • With stix fonts, the integral sign doesn't scale up correctly, and the placement and maybe the sizes of the indices and derivative signs are incorrect. • With xits fonts, the integral sign is correct but the placement of the indices and exponents are not always correct (see the example below). Also for some reasons the greek letters are not anymore italicized. I have also a question regarding the use of calligraphic script style, like the font rsfs, which are contained in xits and stix: how can one use them? With my best regards: OK %%% file xits-sample.tex \usetypescript[xits] \let\|\Vert \starttext \startbuffer[math-sample] Let $\alpha \in {\Bbb R}$. Then $z:={\rm e}^{{\rm i}\alpha} \in {\Bbb C}$ and $|z|=1$. Let ${\ss\bf H}$ be a Hilbert space. In the case where ${\ss\bf H} = H^1_{0}(\Omega)$, the classical Sobolev space on a smooth bounded domain $\Omega \subset {\Bbb R}^n$, we have the Poincaré inequality stating that \startformula \lambda_{1}\int_{\Omega}u(x)^2dx =: \lambda_{1}\| u\|^2 \leq \| \nabla u \|^2 := \int_{\Omega}|\nabla u(x)|^2dx. \stopformula In particular if $n=1$ and $\Omega = (0,1)$ \startformula \pi^2\int_{0}^{1} u(x)^2dx \leq \int_{0}^1u'(x)^2dx. \qquad \zeta(2)=\sum_{n=1}^\infty {1\over n^2 } ={\pi^2\over 6} \stopformula On the other hand $\int_{1}^{2} xdx=3/2$, while $\zeta(4)=\sum_{n=1}^\infty n^{-4} = \pi^4/ 90$. A function $f$ is said to have a derivative at $x_{0}\in {\Bbb R}$, if the limite \startformula \lim_{h \to 0}{f(x_{0}+h) - f(x_{0})\over h} \stopformula exists. In this case the above limit is denoted $f'(x_{0})$. One can easily see that $(uf)'=u'f+uf'$ (and not $u'f'$\dots). \startformula \Delta u := \sum_{j=1}^n {\partial^2 u\over \partial x_{j}^2 } = \sum_{j=1}^n \partial_{jj}u. \stopformula \stopbuffer This is a sample of maths with Latin Modern: \getbuffer[math-sample] \start \switchtobodyfont[xits] This is a sample of Xits fonts\dots{} Version 1.002. Note that the integral sign and the numbers 1 and 2 are not correctly placed in $\int_{1}^2$, and $\Omega$ in $\int_{\Omega}$ is a little bit far from the integral sign $\int$. Also the derivative sign in $f'$ is slightly misplaced (actually too high), but this may be accepted as it is. \getbuffer[math-sample] \stop \stoptext %%%% end file xits-sample.tex