Changes

Jump to navigation Jump to search
== STIX Fonts: a first example ==
Stix fonts are now out now: see [http://www.stixfonts.org http://www.stixfonts.org]
I have made a simple pdf from Hans's script below (see [http://wiki.contextgarden.net/images/d/d3/Test.pdf http://wiki.contextgarden.net/images/d/d3/Test.pdf])
<texcode>
% this typescript will be in the beta
\starttypescript [math] [stix] [name]
\usemodule[fnt-25]
\startbufferstarttext \showmathfontcharacters\stoptext</texcode>or, more compact [mathtesthttp://wiki.contextgarden.net/images/5/57/Test1-tex.pdf http://wiki.contextgarden.net/images/5/57/Test1-tex.pdf] <texcode>\begingroupstarttext\mmshowfont[file:stixgeneral.otf][all]\mrstoptext</texcode>== XITS ==Khaled Hosny has "repackaged" STIX fonts at [http://github.com/khaledhosny/xits-math/tree/STIXv1.0.0 github ] so that it's possible to '''test''' them as an OpentType math.This is the [http://wiki.contextgarden.net/images/c/c3/Latin.pdf pdf] of <tt>latin.tex</tt> below. Also Taco has remade Aditya's '''My Way Using \startalign and friends''' [http://wiki.contextgarden.net/images/b/b4/Mathalign.pdf here] ('''WARNING: it's a test ! '''). Update at 2010-05-30. <texcode>\showmathfontcharactersusetypescriptfile[type-xits]\endgroupusetypescript[xits]\stopbuffersetupbodyfont[xits]
\starttext
 \getbuffermidaligned{$\bfd\frak XITS\ Math$}\blank[mathtest4*big\startformula\pi(n) = \sum^{n}_{m=2}\left\lfloor\biggl(\sum^{m-1}_{k=1}\bigl\lfloor(m/k)\big/\lceil m/k\rceil\bigr\rfloor\biggr)^{-1}\right\rfloor\stopformula \startformula\pi(n) = \sum^{n}_{k=2}\left\lfloor\phi(k) \over k-1\right\rfloor\stopformula \startformula1+\left(1\over1-x^2\right)^3\stopformula \startformula1+\left(1\over1-{{{x^2}\over{y^3}}\over{z^4}}\right)^3\stopformula \startformula{a+1\over b}\bigg/{c+1\over d}\stopformula \startformula\biggl({\partial^{2} \over \partial x^{2}} + {\partial^{2} \over \partial y^{2}}\biggr) {\bigl\vert\phi(x+iy)\bigr\vert}^2\stopformula \startformula\int_{-\infty}^{+\infty}\stopformula \startformula\sum_{\scriptstyle0\le i\le m\atop\scriptstyle0<j<n}P(i,j)\stopformula \startformula\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+x}}}}}}}\stopformula \startformula\int_0^3 9x^2 + 2x + 4\, dx = 3x^3 + x^2 + 4x + C \Big]_0^3 = 102\stopformula \startformulae^{x+iy} = e^x(\cos y + i\sin y)\stopformula \startformulax = {-b \pm \sqrt{b^2 - 4ac} \over 2a}\stopformula \startformula f(x) = \startmathcases \NC x, \MC \text{if } 0 \le x \le \frac12 \NR \NC 1-x ,\MC \text{if } \frac12 \le x \le 1 \NR \stopmathcases\stopformula \startformula\vert\big\vert\Big\vert\bigg\vert\Bigg\vert\stopformula \startformula\emptyset \varnothing \eth \backepsilon \approx\stopformula \startformula\hat{i}\hat{j}\bf\hat{i}\hat{j}\stopformula \startformula\hat{\imath}\hat{\jmath}\bf\hat{\imath}\hat{\jmath}\stopformula \startformula\hat{a} \hat{c} \hat{e} \hat{f} \hat{g} \hat{o} \hat{s} \hat{z}\stopformula \startformula\hat{C} \hat{G} \hat{O} \hat{S} \hat{V} \hat{W} \hat{X} \hat{Y} \hat{Z}\stopformula \startformula\hat{𝐚} \hat{𝐜} \hat{𝐞} \hat{𝐟} \hat{𝐠} \hat{𝐨} \hat{𝐬} \hat{𝐳}\stopformula \startformula\hat{𝐂} \hat{𝐆} \hat{𝐇} \hat{𝐎} \hat{𝐒} \hat{𝐕} \hat{𝐖} \hat{𝐗} \hat{𝐘} \hat{𝐙}\stopformula \startformula\hat{ζ} \hat{θ} \hat{λ} \hat{π} \hat{ρ} \hat{τ} \hat{ψ} \hat{ω} \hat{ϕ}\stopformula \startformula\hat{Θ} \hat{Λ} \hat{Π} \hat{Υ} \hat{Ψ}\stopformula \startformula\hat{𝛇} \hat{𝛉} \hat{𝛌} \hat{𝛑} \hat{𝛒} \hat{𝛕} \hat{𝛟} \hat{𝛙} \hat{𝛚}\stopformula \startformula\hat{𝚫} \hat{𝚯} \hat{𝚲} \hat{𝚷} \hat{𝚼} \hat{𝚿}\stopformula \startformula\hat{℘} \hat{𝓐} \hat{𝓘} \hat{𝓙} \hat{𝒜} \hat{ℐ} \hat{𝒥} \hat{Δ} \hat{Ο} \hat{Χ} \hat{𝚭} \hat{𝚶} \hat{𝚾}\stopformula
\stoptext
 
</texcode>

Navigation menu