方程式括号后的 parbox 垂直对齐

方程式括号后的 parbox 垂直对齐

在下面的代码中,我尝试将 parboxes 垂直居中(相对于括号)。我一直在尝试使用 position 参数,但无济于事。你能帮我解决这个问题吗?提前致谢。

%%%%%PREAMBLE
\documentclass[letter,12pt,twoside]{article}
\setlength{\parindent}{0pt}
\setlength{\parskip}{12pt plus 1pt minus 1pt}

%%%%%PACKAGES
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage[left=2.5cm,top=2.5cm,bottom=2.5cm,right=2.5cm]{geometry} % Margins
\usepackage{setspace} % Interline spacing

%%%%%BODY

\begin{document}

\begin{equation}
    \begin{aligned}
        \Delta_{st} WMA_{m,i}   & \left. \begin{aligned}
                                    = \phantom{-} \displaystyle\sum\limits_{j \in J}{\left[\left(\frac{Pop_{j,t}}{\tau_{i,j,t}^4}\right)-\left(\frac{Pop_{j,s}}{\tau_{i,j,s}^4}\right)\right]Wet_{j,s}Wet_{j,t}}
                                \end{aligned} \right\} \parbox{3cm}{\singlespacing \centering AAAAAAAAAA \\ BB} \\
                                & \left. \begin{aligned}
                                    \phantom{=} + \displaystyle\sum\limits_{j \in J}{\left[\frac{Pop_{j,t}}{\tau_{i,j,t}^4}\right]\left(1-Wet_{j,s}\right)Wet_{j,t}}  \\
                                    \phantom{=} - \displaystyle\sum\limits_{j \in J}{\left[\frac{Pop_{j,s}}{\tau_{i,j,s}^4}\right]Wet_{j,s}\left(1-Wet_{j,t}\right)}
                                \end{aligned} \right\} \parbox{3cm}{\singlespacing \centering CC \\ DD \\ EEEEEEEEEEE \\ FF}
    \end{aligned}
\end{equation}

\end{document}

答案1

无需发出\singlespacing,这会导致垂直错位。无论如何,您也可以使用tabular在数学模式中垂直堆叠内容:

在此处输入图片描述

\documentclass{article}

\setlength{\parindent}{0pt}
\setlength{\parskip}{12pt plus 1pt minus 1pt}

\usepackage{amsmath,array,setspace}
\usepackage[margin=25mm]{geometry} % Margins

\begin{document}

\begin{equation}
    \begin{aligned}
        \Delta_{st} WMA_{m,i}   & \left. \begin{aligned}
                                    = \phantom{-} \displaystyle\sum\limits_{j \in J}{\left[\left(\frac{Pop_{j,t}}{\tau_{i,j,t}^4}\right)-\left(\frac{Pop_{j,s}}{\tau_{i,j,s}^4}\right)\right]Wet_{j,s}Wet_{j,t}}
                                \end{aligned} \right\} \parbox{3cm}{\centering AAAAAAAAAA \\ BB} \\
                                & \left. \begin{aligned}
                                    \phantom{=} + \displaystyle\sum\limits_{j \in J}{\left[\frac{Pop_{j,t}}{\tau_{i,j,t}^4}\right]\left(1-Wet_{j,s}\right)Wet_{j,t}}  \\
                                    \phantom{=} - \displaystyle\sum\limits_{j \in J}{\left[\frac{Pop_{j,s}}{\tau_{i,j,s}^4}\right]Wet_{j,s}\left(1-Wet_{j,t}\right)}
                                \end{aligned} \right\} \parbox{3cm}{\centering CC \\ DD \\ EEEEEEEEEEE \\ FF}
    \end{aligned}
\end{equation}


\begin{equation}
    \begin{aligned}
        \Delta_{st} WMA_{m,i}   & \left. \begin{aligned}
                                    = \phantom{-} \displaystyle\sum\limits_{j \in J}{\left[\left(\frac{Pop_{j,t}}{\tau_{i,j,t}^4}\right)-\left(\frac{Pop_{j,s}}{\tau_{i,j,s}^4}\right)\right]Wet_{j,s}Wet_{j,t}}
                                \end{aligned} \right\}
                                \begin{tabular}{>{\centering}p{3cm}}
                                  AAAAAAAAAA \\ BB
                                \end{tabular} \\
                                & \left. \begin{aligned}
                                    \phantom{=} + \displaystyle\sum\limits_{j \in J}{\left[\frac{Pop_{j,t}}{\tau_{i,j,t}^4}\right]\left(1-Wet_{j,s}\right)Wet_{j,t}}  \\
                                    \phantom{=} - \displaystyle\sum\limits_{j \in J}{\left[\frac{Pop_{j,s}}{\tau_{i,j,s}^4}\right]Wet_{j,s}\left(1-Wet_{j,t}\right)}
                                \end{aligned} \right\}
                                \begin{tabular}{>{\centering}p{3cm}}
                                  CC \\ DD \\ EEEEEEEEEEE \\ FF
                                \end{tabular}
    \end{aligned}
\end{equation}

\end{document}

相关内容