How can I write some text under a formula? The effect I would like to achieve is the following
I would like the two words, "prodotti" and "reagenti", to be placed under each summation.
How can I write some text under a formula? The effect I would like to achieve is the following
I would like the two words, "prodotti" and "reagenti", to be placed under each summation.
Something like this?
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\Delta_\mu G^\phi = \underset{\text{prodotti}}{\sum \nu \Delta_f G^\phi} - \underset{\text{reagenti}}{\sum \nu \Delta_f G^\phi}
\]
\end{document}
\mu on the picture.
– Vincent
May 09 '22 at 15:01
\Delta_{\mathrm{r}}
– egreg
May 09 '22 at 21:41
Inspired from this old question Two questions about the stackengine package: you can obtain the same result of \underset. Note that \setstackgap{S}{3pt} it is important to put the text more below (see the parameter 3pt}.
\documentclass[12pt]{article}
\usepackage{stackengine}
\usepackage{amssymb}
\stackMath
\setstackgap{S}{3pt}
\begin{document}
\[\Delta_{r} G^{\phi}=\stackunder{ \displaystyle\sum \nu \Delta_f G^\phi}{\textup{ prodotti}} - \stackunder{\displaystyle\sum \nu \Delta_f G^\phi}{\textup{reagenti}}\]
\end{document}
Or this:
\documentclass[12pt]{article}
\usepackage{stackengine}
\usepackage{amssymb}
\stackMath
\setstackgap{S}{2pt}
\begin{document}
\[\Delta_{r} G^{\phi}=\stackunder{ \displaystyle\sum \nu \Delta_f G^\phi}{\textup{ \scriptsize prodotti}} - \stackunder{\displaystyle\sum \nu \Delta_f G^\phi}{\textup{\scriptsize reagenti}}\]
\end{document}
amsmath. – egreg May 09 '22 at 21:40