+1 vote
in General IT Tips by (56.5k points)

I am writing fractions using the \frac command, but it returns italicized fractions. How to write fractions in non-italic format in latex?

1 Answer

+2 votes
by (71.8k points)
selected by
 
Best answer

You need to typeset the text-only fraction by using the \text command of the amsmath package. The \text command will return fractions in non-italic format.

Here is an example:

\documentclass{article}

\usepackage{amsmath}

\begin{document}

\[\frac{\text{number 1}}{\text{number 2}}\]

\end{document}

Related questions

+1 vote
1 answer
+1 vote
1 answer
asked Jan 28, 2023 in General IT Tips by phpuser (56.5k points)
+3 votes
1 answer
+1 vote
1 answer
+1 vote
1 answer

...