Prev Next number

Displaying Simple Numbers In Math Mode

Syntax
$number$$

Deprecated 2015-10-11
This command has been deprecated as part of the deprecation of the math command; use latexnumber in its place.

Description
This command makes it easy to display numbers in the same font as is used for math mode. The text in number can be any sequence of decimal digits, plus signs, minus signs, or periods.

Example
The input text
 
     $math%x(k)%$$ for $math%k%$$ equal to $1$$, $2$$ or $3$$
would result in:
     
x(k) for k equal to 1, 2 or 3
Input File: math.omh