Fractions and Binomials - Overleaf, Online LaTeX Editor - latex choose command

Category

Commands - Overleaf, Online LaTeX Editor latex choose command


Next: Forcing non-italic captions Up: Miscellaneous Latex syntax Previous: Use the Latex command {n \choose x} in math mode to insert the.

Do not use {n \choose k} in LaTeX (it is a plain TeX command). The recommended way in LaTeX is \usepackage{amsmath} in the preamble and then .

{N\choose k}. (The braces around N and k are not needed.) However, as you're using LaTeX, it is better to use \binom from amsmath, i.e. Last, I'll note that amsmath provides different commands for 'continuation dots', including \dotsc for .

As you may have guessed, the command \frac{1}{2} is the one that displays the fraction. The text inside the first pair of braces is the numerator and the text inside .

LaTeX typesetting is made by using special tags or commands that provide a handful of ways to format your document. Sometimes standard commands are not.