请问如何调节公式中求和号上下指标与其横线的垂直间距?

发布于 2024-11-21 11:34:58

请问各位大佬,如何在LaTeX中调节求和号的上下指标与横线的垂直间距呢:
image.png

MWE如下:

\documentclass{article}

\usepackage{stix}
\usepackage{amsmath}

\begin{document}
%
\begin{align*}
   \Sigma_{n \mathbf{k}}(\eta)=\sum_{\mathbf{q}, \nu}^{\ \!\text {coarse }}[\Sigma_{n \mathbf{k} \mathbf{;} 
   \mathbf{q} \nu}^{\text {upep Fan }}+\Sigma_{n \mathbf{k} \mathbf{;} \mathbf{q} \nu}^{\text {upper DW }}]+
   \sum_{\mathbf{q}, \nu}^{\text {fine }}{}[\Sigma_{n \mathbf{k}, \mathbf{q} \nu}^{\text {lower Fan }}(\eta)+
   \Sigma_{n \mathbf{k}, \mathbf{q} \nu}^{\text {lower DW }}]
\end{align*}
%
\end{document}

查看更多

关注者
0
被浏览
82
1 个回答
Sagittarius Rover
我要成为TikZ糕手/(ㄒoㄒ)/~~

我完全不懂原理....REF:https://tex.stackexchange.com/questions/388594/how-to-reduce-the-spacing-above-and-below-math-symbols/388694#388694

\documentclass{article}
\usepackage{stix}
\usepackage{amsmath}
\begin{document}
\setbox0=\hbox{$\relax$}% trigger math font setup
\typeout{xi_9: \the\fontdimen9\textfont3}
\typeout{xi_11: \the\fontdimen11\textfont3}
\typeout{xi_10: \the\fontdimen10\textfont3}
\typeout{xi_12: \the\fontdimen12\textfont3}
\[\sum_{n=0}^{m} x_{nn} \sum_{n}^{g} y_{nn}\]

\begin{align*}
    \Sigma_{n \mathbf{k}}(\eta)=\sum_{\mathbf{q}, \nu}^{\ \!\text {coarse }}[\Sigma_{n \mathbf{k} \mathbf{;} 
    \mathbf{q} \nu}^{\text {upep Fan }}+\Sigma_{n \mathbf{k} \mathbf{;} \mathbf{q} \nu}^{\text {upper DW }}]+
    \sum_{\mathbf{q}, \nu}^{\text {fine }}{}[\Sigma_{n \mathbf{k}, \mathbf{q} \nu}^{\text {lower Fan }}(\eta)+
    \Sigma_{n \mathbf{k}, \mathbf{q} \nu}^{\text {lower DW }}]
 \end{align*}

\fontdimen9\textfont3=1pt
\fontdimen11\textfont3=1pt
\fontdimen10\textfont3=1pt
\fontdimen12\textfont3=1pt
\[\sum_{n=0}^{m} x_{nn} \sum_{n}^{g} y_{nn}\]
\begin{align*}
    \Sigma_{n \mathbf{k}}(\eta)=\sum_{\mathbf{q}, \nu}^{\ \!\text {coarse }}[\Sigma_{n \mathbf{k} \mathbf{;} 
    \mathbf{q} \nu}^{\text {upep Fan }}+\Sigma_{n \mathbf{k} \mathbf{;} \mathbf{q} \nu}^{\text {upper DW }}]+
    \sum_{\mathbf{q}, \nu}^{\text {fine }}{}[\Sigma_{n \mathbf{k}, \mathbf{q} \nu}^{\text {lower Fan }}(\eta)+
    \Sigma_{n \mathbf{k}, \mathbf{q} \nu}^{\text {lower DW }}]
 \end{align*}
 %
\end{document}

image.png

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览