TeX-Math

1  Introduction
    1.1  What is TeX-Math
2  Mathematical Expressions
    2.1  Subscripts and Superscripts
    2.2  Fractions
    2.3  Binomial Coefficients
    2.4  Square Roots and n-th Roots
    2.5  Functions
        2.5.1  Functions without Limits
        2.5.2  Functions with Limits
    2.6  Integral Signs, Sums and Other
    2.7  Lower And Upper Limits
        2.7.1  Multiline Limits
    2.8  Stacking Symbols
    2.9  Delimiters
        2.9.1  Delimiters of Variable Size
        2.9.2  Delimiters of Fixed Size
    2.10  Math Accents
    2.11  Stretchable Horizontal Lines
        2.11.1  Horizontal Braces
        2.11.2  Overlines and Underlines
        2.11.3  Stretchable Arrows
3  Text in Math
4  Spacing Commands
    4.1  The "phantom" Command
5  Font Style and Font Size
    5.1  Font Size
    5.2  Font Style (Font Families)
6  Arrays and Matricies
    6.1  Matricies
    6.2  Matrix Variants
    6.3  Cases
7  Multiline Environment
8  Mathematical Symbols

1  Introduction

1.1  What is TeX-Math

TeX-Math defines the subset of LaTeX that is supported by EquationServer for .NET and SciWriter. It includes most of standard math commands and environments of LaTeX and AMS LaTeX.

2  Mathematical Expressions

2.1  Subscripts and Superscripts

Examples 

tex-math_files\tex-math_MathML_0.jpg

The prime symbol will automatically be superscripted:

tex-math_files\tex-math_MathML_1.jpg

2.2  Fractions

Examples 

tex-math_files\tex-math_MathML_2.jpg

Display Style fractions inside a text style environment can be created with the \dfrac command.

Examples 

tex-math_files\tex-math_MathML_3.jpg

Text Style fractions inside a display style environment can be created with the \tfrac command.

Examples 

tex-math_files\tex-math_MathML_4.jpg

2.3  Binomial Coefficients

Examples 

tex-math_files\tex-math_MathML_5.jpg

Display Style binomial coefficients inside a text style environment can be created with the \dbinom command.

Examples 

tex-math_files\tex-math_MathML_6.jpg

Text Style binomial coefficients inside a display style environment can be created with the \tbinom command.

Examples 

tex-math_files\tex-math_MathML_7.jpg

2.4  Square Roots and n-th Roots

Examples 

tex-math_files\tex-math_MathML_8.jpg

2.5  Functions

There are two types of functions:

  1. Functions without limits, such as \sin (See 2.5.1)
  2. Functions with limits, such as \lim (See 2.5.2)

2.5.1  Functions without Limits

Table 2.1:  Functions without Limits
tex-math_files\tex-math_MathML_9.jpg

2.5.2  Functions with Limits

Table 2.2:  Functions with Limits
tex-math_files\tex-math_MathML_10.jpg

2.6  Integral Signs, Sums and Other

Symbols that will be larger in display style (LaTeX: \displaystyle) than in text style (LaTeX: \textstyle) are listed in table 2.3.

Table 2.3:  Large Operators
tex-math_files\tex-math_MathML_11.jpg

2.7  Lower And Upper Limits

The large operators (such as integral signs, sums and other), as defined in section 2.6, as well as the mathematical functions with limits, as defined in section 2.5.2, can optionally have upper and/or lower limits. Those optional limits can be specified with "^" (Superscript) and "_" (Subscript) respectively. In display mode, these limits will be shown above and below the operator symbol. In text mode however these limits will be shown as superscripts and subscripts.

Examples 

tex-math_files\tex-math_MathML_12.jpg

Use the \nolimits command if you wish to show the limits of large operators (or functions with limits) as subscripts and superscripts in display style.

Examples 

tex-math_files\tex-math_MathML_13.jpg

Use the \limits command if you wish to show the limits of large operators below and above the operator symbol in text style.

Examples 

tex-math_files\tex-math_MathML_14.jpg

2.7.1  Multiline Limits

Large operators sometimes need multiline limits, which can be typeset with the \substack command. The command \\ is used to separate lines inside the stack.

Examples 

tex-math_files\tex-math_MathML_15.jpg

The lines are centered by \substack command. To get multiline limits with left aligned lines you can use the subarray environment.

Examples 

tex-math_files\tex-math_MathML_16.jpg

2.8  Stacking Symbols

Examples 

tex-math_files\tex-math_MathML_17.jpg

2.9  Delimiters

Table 2.4:  Delimiters
tex-math_files\tex-math_MathML_18.jpg

2.9.1  Delimiters of Variable Size

Using the commands \left and \right in combination with delimiters chosen from table 2.4 it is possible to construct a pair of delimiters of variable size (stretchy).

Examples 

tex-math_files\tex-math_MathML_19.jpg

2.9.2  Delimiters of Fixed Size

Using the commands \big, \Big, \bigg and \Bigg in combination with a delimiter chosen from table 2.4 it is possible to produce delimiters of a larger size than the standard size.

Examples 

tex-math_files\tex-math_MathML_20.jpg

2.10  Math Accents

Table 2.5:  Accents
tex-math_files\tex-math_MathML_21.jpg

2.11  Stretchable Horizontal Lines

2.11.1  Horizontal Braces

Examples 

tex-math_files\tex-math_MathML_22.jpg

2.11.2  Overlines and Underlines

Examples 

tex-math_files\tex-math_MathML_23.jpg

2.11.3  Stretchable Arrows

Examples 

tex-math_files\tex-math_MathML_24.jpg

Examples 

tex-math_files\tex-math_MathML_25.jpg

3  Text in Math

Text inside math environment can be included with the \mbox or \text command.

Examples 

tex-math_files\tex-math_MathML_26.jpg

To use one of the special characters &, $, {, }, _, #, ^, ~ or % in a text environment it is required to type a backslash before the symbol.

tex-math_files\tex-math_MathML_27.jpg

4  Spacing Commands

Table 4.1:  Spacing Commands
tex-math_files\tex-math_MathML_28.jpg

4.1  The "phantom" Command

The \phantom command produces a space in a formula equivalent to the space that would be occupied by its typeset argument.

Examples 

tex-math_files\tex-math_MathML_29.jpg

5  Font Style and Font Size

5.1  Font Size

Table 5.1 shows the commands that can be used to change the font size directly.

Table 5.1:  Font Size Commands
tex-math_files\tex-math_MathML_30.jpg

Additionally there are the commands listed in table 5.2 which change the style parameters display style and the script level of an expression.

Table 5.2:  Font Size Commands
tex-math_files\tex-math_MathML_31.jpg

5.2  Font Style (Font Families)

tex-math_files\tex-math_MathML_32.jpg

6  Arrays and Matricies

6.1  Matricies

The matrix environment creates a matrix with centered table cells.

Examples 

tex-math_files\tex-math_MathML_33.jpg

The array environment allows to define the column alignment (l= left aligned, c= centered, r = right aligned) and to insert vertical column lines in a second argument. Horizontal lines between rows can be inserted with the \hline command.

Examples 

tex-math_files\tex-math_MathML_34.jpg

6.2  Matrix Variants

The environments pmatrix, bmatrix, Bmatrrix, vmatrix and Vmatrix create a matrix with surrounding delimiters as shown in table 6.1.

Table 6.1:  Matrix Commands
tex-math_files\tex-math_MathML_35.jpg

6.3  Cases

The cases environment produces an matrix with left aligned columns and a left brace of variable size.

Examples 

tex-math_files\tex-math_MathML_36.jpg

7  Multiline Environment

The multiline environment can be used to create multiline equations.

Examples 

tex-math_files\tex-math_MathML_37.jpg

8  Mathematical Symbols

Hebrew Letters
tex-math_files\tex-math_MathML_38.jpg

Greek Lowercase
tex-math_files\tex-math_MathML_39.jpg

Greek Uppercase
tex-math_files\tex-math_MathML_40.jpg

Binary Relations
tex-math_files\tex-math_MathML_41.jpg

AMS Binary Relations
tex-math_files\tex-math_MathML_42.jpg

Negated Binary Relations
tex-math_files\tex-math_MathML_43.jpg

Binary Operators
tex-math_files\tex-math_MathML_44.jpg

Arrows
tex-math_files\tex-math_MathML_45.jpg

AMS Arrows
tex-math_files\tex-math_MathML_46.jpg

Miscellaneous Symbols
tex-math_files\tex-math_MathML_47.jpg

Delimiters
tex-math_files\tex-math_MathML_48.jpg

Dots
tex-math_files\tex-math_MathML_49.jpg

Escapable Special Characters
tex-math_files\tex-math_MathML_50.jpg


Copyright 2007 soft4science Bernhard Keil