Question #5971
Submitted by Answiki
on 02/27/2022 at 05:16:29 PM UTC
How to write a fraction in LaTeX?
Merged questions
Answer
Submitted by Answiki
on 02/27/2022 at 05:20:00 PM UTC
In LaTeX, the fractions are written with \frac
, \tfrac
or \dfrac
. For example:
fraction = \frac {numerator} {denominator}
displays:

\dfrac
is for display mode (applies the style used for equations outside the text) 
\tfrac
is for text mode (applies the style used for the equations in the text) 
\frac
automatically selects the applied style from the two above.
For example, x = \tfrac{1}{2} = \dfrac{1}{2}
displays:
Answer by Answiki on 02/27/2022 at 05:20:00 PM
In LaTeX, the fractions are written with \frac
, \tfrac
or \dfrac
. For example:
fraction = \frac {numerator} {denominator}
displays:

\dfrac
is for display mode (applies the style used for equations outside the text) 
\tfrac
is for text mode (applies the style used for the equations in the text) 
\frac
automatically selects the applied style from the two above.
For example, x = \tfrac{1}{2} = \dfrac{1}{2}
displays:
Question by Answiki 02/27/2022 at 05:16:29 PM
How to write a fraction in LaTeX?
#  ID  Query  URL  Count 

Icons proudly provided by Friconix.