> ## Documentation Index
> Fetch the complete documentation index at: https://resources.latex-cloud-studio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fractions and Binomials in LaTeX

> Typeset fractions, continued fractions, and binomial notation in LaTeX with clear math formatting.

Use dedicated fraction commands for clarity and consistency.

## Core Commands

```latex fractions.tex theme={null}
\frac{a}{b}
\dfrac{a+b}{c+d}
\tfrac{1}{2}
\binom{n}{k}
\dbinom{n}{k}
```

<details>
  <summary>Rendered output</summary>
  Open zoomable preview: Compiled PDF page 1 from fractions.tex

  Generated from the shown source with pdfLaTeX in the pinned LaTeXCloud TeX Live 2026 environment. The visible fragment is compiled inside the documented minimal article wrapper.

  [Open SVG](https://resources.latex-cloud-studio.com/images/rendered/learn-latex-mathematics-fractions-binomials-01/page-1.svg)
</details>

**Ready to use this syntax?** Continue in the browser editor when you want to adapt the example in a real project.[Open LaTeX Cloud Studio](https://app.latex-cloud-studio.com/start?utm_source=resources\&utm_medium=rendered_output\&utm_campaign=docs_open_app\&utm_content=learn_latex_mathematics_fractions_binomials)

## Continued Fractions

```latex cfrac.tex theme={null}
\usepackage{amsmath}

\[
x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3}}}
\]
```

<details>
  <summary>Rendered output</summary>
  Open zoomable preview: Compiled PDF page 1 from cfrac.tex

  Generated from the shown source with pdfLaTeX in the pinned LaTeXCloud TeX Live 2026 environment. The visible fragment is compiled inside the documented minimal article wrapper.

  [Open SVG](https://resources.latex-cloud-studio.com/images/rendered/learn-latex-mathematics-fractions-binomials-02/page-1.svg)
</details>

## Related Pages

* [Mathematics basics](https://resources.latex-cloud-studio.com/learn/latex/mathematics/basics.md)
* [Align and multline environments](https://resources.latex-cloud-studio.com/learn/latex/mathematics/align-and-multline-environments.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.