</context>
== Second test==
<context source="yes">
\setuphead[chapter][align=middle]
\setuphead[section][style=\bfa]
\setuphead[subsection][style=\it]
\setuplayout[
topspace=1in,
bottomspace=1in,
header=0pt,
footer=0pt,
backspace=1in,
margin=0pt,
width=fit,
height=fit,
]
\definemathfraction[binomial] [binom] [fences=parenthesis,rule=no]
\definemathfraction[tbinomial] [binomial] [mathstyle=text]
\definemathfraction[dbinomial] [binomial] [mathstyle=display]
\startbuffer
\type{\binomial{n}{k}}: $\binomial{n}{k}$\par
\type{\tbinomial{n}{k}}: $\tbinomial{n}{k}$\par
\type{\dbinomial{n}{k}}: $\dbinomial{n}{k}$\par
\stopbuffer
\starttext
\title{Binomial coefficients}
\startcolumns[n=2]
\subject{Default settings}
\subsubject{Latin Modern}
\getbuffer
\switchtobodyfont[pagella]
\subsubject{Pagella}
\getbuffer
\switchtobodyfont[stixtwo]
\subsubject{STIX Two}
\getbuffer
%\switchtobodyfont[lucidaot]
%\subsubject{Lucida}
%\getbuffer
\column[yes]
\setupmathfractions[binom][
fences=parenthesis,
]
\switchtobodyfont[modern]
\subject{With fences=parenthesis}
\subsubject{Latin Modern}
\getbuffer
\switchtobodyfont[pagella]
\subsubject{Pagella}
\getbuffer
\switchtobodyfont[stixtwo]
\subsubject{STIX Two}
\getbuffer
%\switchtobodyfont[lucidaot]
%\subsubject{Lucida}
%\getbuffer
\stopcolumns
\stoptext
</context>
[[Category:Math]]