next up previous contents index
Next: Smash options Up: Miscellaneous mathematics features Previous: The genfrac command

Continued fractions

The continued fraction 

can be obtained by typing

\cfrac{1}{\sqrt{2}+
 \cfrac{1}{\sqrt{2}+
  \cfrac{1}{\sqrt{2}+\dotsb
}}}
This produces better-looking results than straightforward use of frac. Left or right placement of any of the numerators is accomplished by using cfrac|[l]| or cfrac|[r]| instead of cfrac.



Carsten Braeutigam
Sun Jun 25 14:57:10 MET DST 1995