Changes

Jump to navigation Jump to search
455 bytes added ,  00:26, 15 November 2019
no edit summary
|attributes=
}}
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>fraction</syntax>
== [[Help:Reference|Syntax]] ==
== Description ==
Displays a fraction. In first bracket pair the numerator is set, in the second the denominator.It is the same as <texcode>\frac</texcode>
== Example ==
<texcode>
<context>
\setuppagenumbering[location=]
$\fraction{x^2}{k+1}$
</context>
 
You can define also a wide version of the fraction bar, in case the numerator or denominator contain a fraction:
 
<texcode>
\definemathfraction
[widefrac]
[margin=.25em]
</texcode>
 
and then use it as in
 
<texcode>
\widefrac{a}{\fraction{b}{c}}
</texcode>
 
which gives
 
<context>
\definemathfraction
[widefrac]
[margin=.25em]
\widefrac{a}{\fraction{b}{c}}
</context>
== See also ==
<!-- something like [[{{cmd:goto|\goto]] }} -->
== Help from ConTeXt-Mailinglist/Forum ==

Navigation menu