我想知道我是否可以得到一些帮助。我想对齐分数和总和的高度。与分数相比,总和的位置太低了。我该如何实现这一点?
\documentclass[12pt,a4paper]{article}
\begin{document}
\[\Lambda_{entry} =\frac{\psi/(1-\delta)}{\psi/(1-\delta) + m_{I}} + \frac{m_{I}(1-\Phi)}{\psi/(1-\delta) + m_{I}} \sum^{}_{(\tilde{g},\tilde{b}) \in \{(g,b)\}}\hspace{0.1em}f_{\tilde{g},\tilde{b}-1}\]
\end{document}
答案1
我希望总和 [符号] 的最高点与分数的最高点对齐。
请谨慎询问...
\documentclass{article}
\usepackage{mathtools} % for '\mathclap' directive
\usepackage{graphicx} % for '\scalebox' directive
\newcommand{\bigsum}{%
\mathop{\vcenter{\hbox{\scalebox{1.5}{$\displaystyle\sum$}}}}}
\begin{document}
\[
\Lambda_{\mathrm{entry}} =
\frac{\psi/(1-\delta)}{\psi/(1-\delta) + m_{I}}
+ \frac{m_{I}(1-\Phi )}{\psi/(1-\delta) + m_{I}} \times
\bigsum_{\mathclap{(\tilde{g},\tilde{b})\in\{(g,b)\}}}
f^{}_{\tilde{g},\tilde{b}-1}
\]
\end{document}
答案2
\documentclass[12pt,a4paper]{article}
% https://tex.stackexchange.com/a/546690
\newcommand\vc[1]{\vcenter{\hbox{#1}}}
\begin{document}
\[\Lambda_{entry} =
\frac{\psi/(1-\delta)}{\psi/(1-\delta) + m_{I}} +
\frac{m_{I}(1-\Phi)}{\psi/(1-\delta) + m_{I}}
\hspace{0.3em}
\vc{$\displaystyle\sum_{(\tilde{g},\tilde{b}) \in \{(g,b)\}}
\hspace{-1em}
f_{\tilde{g},\tilde{b}-1}$}
\]
\end{document}