Created
October 8, 2010 15:07
-
-
Save wspr/616937 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\nopagenumbers | |
\iftrue | |
% set up Cambria Math as math roman, symbol and extension families | |
\font\1="Cambria Math:script=math" at 10pt | |
\font\2="Cambria Math:script=math;+ssty=0" at 7pt | |
\font\3="Cambria Math:script=math;+ssty=1" at 5pt | |
\textfont0=\1 \scriptfont0=\2 \scriptscriptfont0=\3 | |
\textfont2=\1 \scriptfont2=\2 \scriptscriptfont2=\3 | |
\textfont3=\1 \scriptfont3=\2 \scriptscriptfont3=\3 | |
\let\tenrm=\1 \rm | |
% use Cambria Math with italic mapping for family 1 | |
\font\1="Cambria Math:script=math;mapping=math-italic" at 10pt | |
\font\2="Cambria Math:script=math;mapping=math-italic;+ssty=0" at 7pt | |
\font\3="Cambria Math:script=math;mapping=math-italic;+ssty=1" at 5pt | |
\textfont1=\1 \scriptfont1=\2 \scriptscriptfont1=\3 | |
%% need additional font/family declarations with other mappings | |
%% for blackboard, calligraphic, fraktur, typewriter, etc | |
\XeTeXmathcode`\-="2 "2 "2212 % minus sign | |
\XeTeXmathcode`\/="0 "1 "2215 % division slash | |
\XeTeXmathcode`\.="0 "1 `. % period | |
\XeTeXmathcode`\,="0 "1 `, % comma | |
\XeTeXmathchardef\ldotp="6 "2 `. | |
\XeTeXmathchardef\cdotp="6 "2 `∙ | |
\XeTeXmathchardef\sum="1 "2 `∑ | |
\XeTeXmathchardef\prod="1 "2 `∏ | |
\XeTeXmathchardef\intop="1 "2 `∫ | |
\XeTeXmathchardef\ointop="1 "2 `∮ | |
\XeTeXmathchardef\pi="7 "1 `π | |
\XeTeXmathchardef\phi="7 "1 `ϕ | |
\XeTeXmathchardef\nu="7 "1 `ν | |
\XeTeXmathchardef\geq="3 "2 `≥ \let\ge=\geq | |
\XeTeXmathchardef\leq="3 "2 `≤ \let\le=\leq | |
\XeTeXmathchardef\to="3 "2 `→ | |
\XeTeXmathchardef\alpha="0 "1 `α | |
\XeTeXmathchardef\beta="0 "1 `β | |
\XeTeXmathchardef\gamma="0 "1 `γ | |
\XeTeXdelcode"2F="2 "2044 % \fracslash | |
\XeTeXdelcode"28="2 "28 % ( | |
\XeTeXdelcode"29="2 "29 % ) | |
\XeTeXdelcode"5B="2 "5B % [ | |
\XeTeXdelcode"5D="2 "5D % ] | |
\def\lceil{\XeTeXdelimiter"4 "3 "2308 } | |
\def\rceil{\XeTeXdelimiter"5 "3 "2309 } | |
\def\lfloor{\XeTeXdelimiter"4 "3 "230A } | |
\def\rfloor{\XeTeXdelimiter"5 "3 "230B } | |
\def\{{\XeTeXdelimiter"4 "3 "7B } | |
\def\}{\XeTeXdelimiter"4 "3 "7D } | |
\def\sqrt{\XeTeXradical"3 "221A } | |
\fi | |
$$A^{B^C}_{D_E}$$ | |
\centerline{$\int^{a=n}_0\left({a+b\over c}\right)^2$} | |
$$\int^{a=n}_{a=0}\left({a+b\over c}\right)^2 | |
\kern2em\int\limits^{a=n}_{a=0}\left({a+b\over c}\right)^2$$ | |
$$a_0+{1\over\displaystyle a_1+ | |
{\strut 1\over\displaystyle a_2+ | |
{\strut 1\over\displaystyle a_3+ | |
{\strut 1\over a_4}}}}$$ | |
$$ | |
\hbox{$\left( \sum_{k=1}^n A_k \right)$} | |
\kern2em | |
\biggl( \sum_{k=1}^n A_k \biggr) | |
\kern2em | |
\left( \sum_{k=1}^n A_k \right) | |
$$ | |
$$\pi(n)=\sum_{m=2}^n\left\lfloor\biggl(\sum_{k=1}^{m-1}\bigl | |
\lfloor(m/k)\big/\lceil m/k\rceil\bigr\rfloor\biggr)^{-1}\right\rfloor$$ | |
$$A=\pmatrix{a_{11}&a_{12}&\ldots&a_{1n}\cr | |
a_{21}&a_{22}&\ldots&a_{2n}\cr | |
\vdots&\vdots&\ddots&\vdots\cr | |
a_{m1}&a_{m2}&\ldots&a_{mn}\cr}$$ | |
$$\left\{ | |
\eqalign{\alpha&=f(z)\cr \beta&=f(z^2)\cr \gamma&=f(z^3)\cr} | |
\right\}\qquad\left\{ | |
\eqalign{x&=\alpha^2-\beta\cr y&=2\gamma\cr}\right\}$$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment