How to write fraction(¼) in LaTeX?

Symbol/UnicodeFraction/U+00BC
Type of symbolMultiplication
Package (requirement)No
ArgumentYes, a,b
Latex command\frac{arg1}{arg2}
Example\frac{arg1}{arg2} → Fraction output.

We use fractions in most mathematical equations. The \frac{arg1}{arg2} command is used to print fractions in a latex document and requires an argument along with it.

\documentclass{article}
\begin{document}
   \[ \frac{a}{b} \]
   \[ \frac{3\left(\frac{1}{2}\right)}{5}-\frac{\frac{1}{2}}{3} \]
   \[ \frac{x+1}{5y+10} \]
\end{document}

Output :

Use fraction in latex output.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top