Changes

Jump to navigation Jump to search
449 bytes added ,  00:26, 15 November 2019
no edit summary
<!-- please remove this and the following line if you have checked this page -->
{{Reference_Cleanup}}
{{Reference
|name=fraction
|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>$\fraction{x^2}{k+1}$</texcode>
== Example ==<pre class="example"context>
$\fraction{x^2}{k+1}$
</precontext>
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== Example ==.25em]\widefrac{a}{\fraction{b}{c}}<!-- Please fill in an example if you can --/context>
== See also ==
<!-- something like [[{{cmd:goto|\goto]] }} --> == Help from ConTeXt-Mailinglist/Forum ==All issues with:{{Forum|{{SUBPAGENAME}}}}
[[Category:ReferenceCommand/enMathematics|fraction]]

Navigation menu