2

Which is the correct way to represent a compound fraction in an equation environment? With correct I mean, a way so that the representation would give the same font dimension for all the numerators and denominators. Consider the following image:

enter image description here

I would like, for example, that w_{VDW} would have the same dimension as of H_{W,VDW}. Is this the typographically correct choice? What would you suggest?

I have tried \sfrac but it seemed worse.

Matsmath
  • 936
Andrea
  • 182

2 Answers2

4

It's mainly a question of style. I'll give you three different strategies.

\documentclass{article}
\usepackage{amsmath}
\begin{document}

First display with \verb|\frac|, in the right hand side
the fractions are smaller
\[
\frac{H_{W,WDV}}{H_{W,TDW}}=
\frac{
  \frac{\Delta_{VDW}}{w_{VDW}}
}{
  \frac{\Delta_{TDW}}{w_{TDW}}
}
\]
and second display with \verb|\dfrac|, in the right
hand side the fractions are larger
\[
\frac{H_{W,WDV}}{H_{W,TDW}}=
\frac{
  \,\dfrac{\Delta_{VDW}}{w_{VDW}\mathstrut}\,
}{
  \,\dfrac{\mathstrut \Delta_{TDW}}{w_{TDW}}\,
}
\]
Finally, a third display with the slashed form
\[
\frac{H_{W,WDV}}{H_{W,TDW}}=
\frac{
  \Delta_{VDW}/w_{VDW}
}{
  \Delta_{TDW}/w_{TDW}
}
\]
\end{document}

enter image description here

egreg
  • 1,121,712
1

And a fourth display, with the \mfrac (~80 % of \displaystyle) from nccmath. Picking up egreg's example:

\documentclass{article}
\usepackage{nccmath}

\begin{document}

First display with \verb|\frac|, in the right hand side
the fractions are smaller: \[
\frac{H_{W,WDV}}{H_{W,TDW}}=
\frac{
  \frac{\Delta_{VDW}}{w_{VDW}}
}{
  \frac{\Delta_{TDW}}{w_{TDW}}
}
\]
and second display with \verb|\dfrac|, in the right
hand side the fractions are larger: \[
\frac{H_{W,WDV}}{H_{W,TDW}}=
\frac{
  \,\dfrac{\Delta_{VDW}}{w_{VDW}\mathstrut}\,
}{
  \,\dfrac{\mathstrut \Delta_{TDW}}{w_{TDW}}\,
}
\]
Finally, a third display with \verb|\mfrac| in the right-hand side as a compromise: \[
\frac{H_{W,WDV}}{H_{W,TDW}}=
\frac{
  \,\mfrac{\Delta_{VDW}}{w_{VDW}\mathstrut}\,
}{
  \,\mfrac{\mathstrut \Delta_{TDW}}{w_{TDW}}\,
}
\] \end{document}

enter image description here

Bernard
  • 271,350