Difference between revisions of "Command/setupmathematics"

From Wiki
Jump to navigation Jump to search
(Create entire page)
 
Line 92: Line 92:
 
* {{src|math-int.mkiv}}
 
* {{src|math-int.mkiv}}
 
* {{src|math-ini.mkiv}}
 
* {{src|math-ini.mkiv}}
 +
* [[Math spacing]]
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 04:06, 6 December 2012

\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
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: