# Urgent: Typing a simple equation

Requesting help urgently... Would anyone please be able to let me know a way to type this simple equation in Latex, properly, without the obvious errors? I have used the following code (please see the code below), however, it produces the output with some obvious errors (please see the output image attached) such as;

1. the entire equation is in italics and another font. Should be changed to regular Times New Roman text 12pt, non-italicized.
2. words are conjoined. In the code, the words are separated, however that does not translate to the output and all words are joined together. How can I change the code to add space between two words? these should be not conjoined.

The code is here;

$$\underset{[\mathrm{Cells/uL}]}{Absolute Count} = \frac{Cell Count \times eBead Volume}{eBead Count \times Cell Volume} \times eBead Concentration$$


Thank you so much.

I'm not sure such formulas are meaningful. Anyway, you want to use text and not math for the words.

And microliters, not uL.

\documentclass{article}
\usepackage{amsmath}
\usepackage{siunitx}

\begin{document}

$$\underset{[\mathrm{Cells/\unit{\micro\liter}}]}{\textup{Absolute Count}} = \frac{\textup{Cell Count} \times \textup{eBead Volume}} {\textup{eBead Count} \times \textup{Cell Volume}} \times \textup{eBead Concentration}$$

\end{document}


If you want to change the global document font to Times

\documentclass{article}
\usepackage{newtxtext,newtxmath}
\usepackage{amsmath}
\usepackage{siunitx}

\begin{document}

$$\underset{[\mathrm{Cells/\unit{\micro\liter}}]}{\textup{Absolute Count}} = \frac{\textup{Cell Count} \times \textup{eBead Volume}} {\textup{eBead Count} \times \textup{Cell Volume}} \times \textup{eBead Concentration}$$

\end{document}


There is no Times New Roman in native LaTeX. The closest you can get by loading mathptmx (see: How to set document font to times new roman by command)

You can add text in a math formula by the command \text. See the code below.

\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{mathptmx}
\begin{document}

$$\underset{\text{Cells/uL}}{\text{Absolute Count}} = \frac{\text{Cell Count}\; \times\; \text{eBead Volume}}{\text{eBead Count} \; \times \; \text{Cell Volume}} \; \times\; \text{eBead Concentration}$$
\end{document}


• Well, there are much better alternatives to mathptmx. Mar 26 at 13:33
• Why is newtxtext better than mathptmx?
– bmv
Mar 26 at 13:36
• These are both perfect answers. Thank you so much egreg and bmv for your quick responses.
– user267131
Mar 26 at 13:47
• For several reasons: newtx(text,math) are actively maintained; mathptmx is a 25 year old hack. Mar 26 at 13:58