Difference between revisions of "Command/setupmathematics"

From Wiki
Jump to navigation Jump to search
m
m
Line 33: Line 33:
 
  <tr valign="top" class="first">
 
  <tr valign="top" class="first">
 
     <td class="cmd">sygreek</td>
 
     <td class="cmd">sygreek</td>
     <td>italic '''normal''' -- font shape of symbol characters such as \nabla, \sum, etc </td>
+
     <td>italic '''normal''' -- font shape of symbol characters such as \nabla, \partial, etc </td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">

Revision as of 18:04, 24 March 2013

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