# How to write a fraction in a fraction in LaTeX

$\cfrac{ \cfrac{3}{2} }{ \cfrac{1}{2} } = 3 \\~\\ \frac{ \frac{3}{2} }{ \frac{1}{2} } = 3$


$\cfrac{ \cfrac{3}{2} }{ \cfrac{1}{2} } = 3 \\~\\ \frac{ \frac{3}{2} }{ \frac{1}{2} } = 3$