Command/setupmathematics

From Wiki
< Command
Revision as of 16:46, 14 January 2017 by Lmsteffan (talk | contribs) (Categorize page.)
Jump to navigation Jump to search

\setupmathematics

Syntax

\setupmathematics[...=...]
autopunctuation
no TeX style: place a thin space after a comma
yes If a comma is followed directly by a number, suppress the thin space.
all Like yes, and periods behave the same as commas
lcgreek italic normal -- font shape of lowercase greek letters
ucgreek italic normal -- font shape of uppercase greek letters
sygreek italic normal -- font shape of symbol characters such as \nabla, \partial, etc
integral
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: integral=limits.

Description

Global settings pertaining to the display of mathematics.

Example

Integrals and greek

This example illustrates integral, lcgreek, and ucgreek.

    % 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

Symbolset

\startformula
    \reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411}
\stopformula

\setupmathematics
  [symbolset=blackboard-to-bold]

\startformula
    \reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411}
\stopformula

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: