Prev Next frac

Latex Fraction Command

Syntax
Description
Example

Syntax
$latex \frac{numerator}{denominator} $$

Description
Display in Latex mode the fraction specified by the \frac command where numerator and denominator are any valid Latex commands.

Example
The input
 
$latex \[
     \frac{y+z/2}{y^{2}+1}
\] $$
results in the following output @[@ \frac{y+z/2}{y^{2}+1} @]@ The input
 
$latex \[
     \frac{x+y}{1 + \frac{y}{z+1}}
\] $$
results in the following output @[@ \frac{x+y}{1 + \frac{y}{z+1}} @]@
Input File: omh/latex/frac.omh