As you can see, underset on right hand becomes overlaped. How can I avoid this? This is my MWE
\documentclass[14pt]{article}
\usepackage{amsmath}
\usepackage{mathtools}
\newcommand{\lunderset}[2]{\underset{\mathrlap{#1}}{\mathrlap{#2}}\phantom{#2}}
\begin{document}
\begin{equation}
\lunderset{\text{legame}}{\Delta G} =
\lunderset{\text{van der Waals}}{\Delta G} +
\lunderset{\text{legami H}}{\Delta G} +
T\Delta S
\end{equation}
\end{document}
14pt
is not recognized by thearticle
document class and is simply ignored.\underset
instead of using\mathrlap
to cause the overlaps.\mathrlap
the only purpose of that command is to make the text overLAP on the Right, which is what you show.