# [Tex/LaTex] Mixed numbers with ‘normal’ size

fractions

I want to achieve look like this:

I tried some packages but there is big size difference.

some clean code:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
$7$
$\dfrac{1}{6}=$
$\dfrac{42+1}{6}=$
$\dfrac{43}{6}$

\end{document}


It is not clear what your question is so I offer two alternatives

\documentclass{article}
\usepackage{amsmath}

\begin{document}

Either
$7\frac{1}{6}=\frac{42+1}{6}=\frac{43}{6}$
or
\begin{center}
$7\frac{1}{6}=\frac{42+1}{6}=\frac{43}{6}$
\end{center}

\end{document}


I can't see any cases where you would want to set this as multiple math fragments in separate $...$ also avoid using \dfrac in most uses of inline math.