4

The minus sign and the fraction line aren't perfectly aligned, probably due to the presence of brackets. So I've found a way to make them be, using \parbox

\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\dfrac{N_{i}}{N_{0}} = \exp \bigg( \parbox[h][2cm][c]{4mm}{$-$} \dfrac{{E_i - E_0}}{KT} \bigg)
\end{equation}
\end{document}

Is there a more elegant way to achieve this?

1
  • \parbox[h] parbox does not have an h option, also \bigg( should be \biggl( , there is no need to use \frac here display mode fractions are automatic in an equation If you want to adjust the height it would be more natural to use \raisebox Aug 31, 2020 at 11:30

1 Answer 1

8

The issue really is the restricted set of fonts in the original Computer Modern set, leaving 12pt a bit of a mix between 12pt design size fonts and 10pt design size, scaled to 12pt.

It would be possible to force scaled 10pt fonts everywhere but simpler is to use latin modern, which does have a more complete set at 12pt.

enter image description here


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

\begin{equation}
  \frac{N_{i}}{N_{0}} = \exp \biggl(-\frac{{E_i - E_0}}{KT} \biggr)
\end{equation}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .