Changes

Jump to navigation Jump to search
Create entire page
{{Reference
|name=setupmathematics
|attributes=
}}

== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setupmathematics<!--
--><span class="first">[...=...]</span><!--
--></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">autopunctuation</td>
<td>
{| class="wikitable"
|-
| '''{{code|no}}''' || TeX style: place a thin space after a comma
|-
| {{code|yes}} || If a comma is followed directly by a number, suppress the thin space.
|-
| {{code|all}} || Like {{code|yes}}, and periods behave the same as commas
|}</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">lcgreek</td>
<td>'''italic''' normal -- font shape of lowercase greek letters</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">ucgreek</td>
<td>italic '''normal''' -- font shape of uppercase greek letters</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">integral</td>
<td>
{| class="wikitable"
| nolimits || always place limit values next to the integral sign
|-
| limits || always place limit values above/below the integral sign
|-
| displaylimits || place limit values above/below in displays, and next to the sign in inline maths.
|-
| '''autolimits''' || the default: {{code|1=integral=limits}}.
|}</td>
</tr>
</table>

== Description ==
Global settings pertaining to the display of mathematics.

== Example ==

=== Integrals and greek ===
This example illustrates {{code|integral}}, {{code|lcgreek}}, and {{code|ucgreek}}.
<context source=yes mode=mkiv>
% mode=mkiv
\setupmathematics
[integral=nolimits,
lcgreek=italic,
ucgreek=italic,]
nolimits \m{\int_0^\infty \alpha \Sigma}
\startformula
\int_0^\infty \alpha \Sigma
\stopformula

\setupmathematics
[integral=displaylimits,
lcgreek=normal,
ucgreek=normal,]

displaylimits \m{\int_0^\infty \alpha \Sigma}
\startformula
\int_0^\infty \alpha \Sigma
\stopformula
</context>

=== Symbolset ===
<context source=yes mode=mkiv>
\startformula
\reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411}
\stopformula

\setupmathematics
[symbolset=blackboard-to-bold]

\startformula
\reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411}
\stopformula
</context>

== See also ==
* {{src|math-int.mkiv}}
* {{src|math-ini.mkiv}}

== Help from ConTeXt-Mailinglist/Forum ==
All issues with:
{{Forum|setupmathematics}}

[[Category:Commands|setupmathematics]]

Navigation menu