Showing posts with label fraction. Show all posts
Showing posts with label fraction. Show all posts

Monday, March 18, 2013

Fractions in latex

The easiest way to write fractions in an equation is to use the \frac command as
\frac{a}{b}

Wednesday, May 16, 2012

How to write fraction

I usually use the \frac command as

$x = \frac{numerator}{denominator}$

This will render numerator over the denominator, alternatively in inline codes \dfrac can be used instead from the amsmath package with the same syntax.