When I combine numbers and several variables in an equation, the spacing between the numbers and variables are not even. What is the correct way to display the equation? The red box highlight the "problem"!

```
\documentclass{article}
\usepackage{amsmath}
\begin{document}
$G$, $P$, $Z$, $R$, $T$ are all some variables.
Default:
\begin{equation*}
a = \frac{8GP}{ZRT}
\end{equation*}
Small space (\textbackslash!):
\begin{equation*}
a = \frac{8G\!P}{Z\!RT}
\end{equation*}
Large space (\textbackslash,):
\begin{equation*}
a = \frac{8\,GP}{ZR\,T}
\end{equation*}
\end{document}
```

## Best Answer

TeX adds no space between letters and digits in this context however the font may (and does) specify inter-letter kerns, the spacing around and between letters in text and in math is a choice of the font designer and not generally settable within TeX other than manual spacing, as you show

If I modify your example to

I get

which shows that there is no space added in the numerator, but the font specifies inter-letter kerns between Z and R and R and T.