4

enter image description here

As you can see in the pic above, some parts of the equation seem to be crowded. Here, the problem is fixed by using \thinspace command. Here is my MWE:

\documentclass{book}
\usepackage{amsmath}


\begin{document}

\begin{equation}
%
    V_{oc} = V_{oc,ref} \bigg[1 + \frac{\beta}{100} (T_{op}-T_{ref}) \biggl] + V_{oc,ref} \thinspace \varphi \thinspace ln \bigg( \frac{G_{op}}{G_{ref}} \bigg)
%
\label{eq:V_oc_trans}
\end{equation}


\begin{equation}
%
V_{oc} = V_{oc,ref} \bigg[1 + \frac{\beta}{100} (T_{op}-T_{ref}) \biggl] + V_{oc,ref} \varphi ln \bigg( \frac{G_{op}}{G_{ref}} \bigg)
%
\label{eq:V_oc_trans2}
\end{equation}

\end{document}

Which returns:

The problem here is that typing \thinspace over and over is redundant. Can we overcome crowdedness by writing some command in the preamble or using a package option?

3
2

After looking at the equation, I see just one place where a thin space is needed, namely in front of \varphi. Note that the thin space is denoted by \,.

However, the subscript should be all \mathrm, because they're textual; \bigg should be either \biggl (opening) or \biggr (closing); ln should be \ln. The parentheses around the argument of the logarithm, which is a fraction, are not needed.

\documentclass{book}
\usepackage{amsmath}


\begin{document}

\begin{equation}\label{eq:V_oc_trans}
V_{\mathrm{oc}} =
V_{\mathrm{oc},\mathrm{ref}}
  \biggl[1 + \frac{\beta}{100} (T_{\mathrm{op}}-T_{\mathrm{ref}}) \biggr] +
V_{\mathrm{oc},\mathrm{ref}} \, \varphi \ln \frac{G_{\mathrm{op}}}{G_{\mathrm{ref}}}
\end{equation}

\end{document}

The position of \label is actually immaterial, but placing it at the beginning helps to see it more easily.

enter image description here

Switching the position of \varphi may be another choice; this doesn't require \,:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.