设置一行的负边距

设置一行的负边距

考虑以下代码:

\documentclass[11pt]{article}
\usepackage{amsthm,amsmath}
\newtheorem{thm}{Theorem}
\begin{document}
\begin{thm}[Locality] For two fields $A(z)$ and $B(w)$, the followings are equivalent:
    \begin{itemize}
        \item $A(z)$ and $B(w)$ are local, i.e. $(z-w)^N[A(z), B(w)]=0$ for large $N$.
        \item $\displaystyle [A(z), B(w)] = \sum_{n=0}^{N-1} \partial_w^{(j)} \delta(z-w) \gamma_n(w)$.
        \item \begin{align*}
        A(z)B(w) &= \sum_{n=0}^{N-1} \iota_{z,w} \frac{1}{(z-w)^{n+1}} \gamma_n(w) + :A(z)B(w): \\
        (-1)^{|A||B|} B(w)A(z) &= \sum_{n=0}^{N-1} \iota_{w,z} \frac{1}{(z-w)^{n+1}} \gamma_n(w) + :A(z)B(w):.
        \end{align*}
    \end{itemize}
\end{thm}
\end{document}

该代码的输出是: 在此处输入图片描述

我想删除红色标记的空白行。所以我尝试在环境\vspace{-\baselineskip}之前写下来align*。这给出了以下奇怪的结果。 在此处输入图片描述

答案1

只需\begin{align*}改为\quad$\begin{aligned}[t]\end{align*}即可\end{aligned}$

在此处输入图片描述

\documentclass[11pt]{article}
\usepackage{amsthm,amsmath}
\newtheorem{thm}{Theorem}
\begin{document}
\begin{thm}[Locality] For two fields $A(z)$ and $B(w)$, the followings are equivalent:
    \begin{itemize}
        \item $A(z)$ and $B(w)$ are local, i.e. $(z-w)^N[A(z), B(w)]=0$ for large $N$.
        \item $\displaystyle [A(z), B(w)] = \sum_{n=0}^{N-1} \partial_w^{(j)} \delta(z-w) \gamma_n(w)$.
        \item \quad$\begin{aligned}[t]
        A(z)B(w) &= \sum_{n=0}^{N-1} \iota_{z,w} \frac{1}{(z-w)^{n+1}} \gamma_n(w) +{} :A(z)B(w): \\
        (-1)^{|A||B|} B(w)A(z) &= \sum_{n=0}^{N-1} \iota_{w,z} \frac{1}{(z-w)^{n+1}} \gamma_n(w) +{} :A(z)B(w):\,.
        \end{aligned}$
    \end{itemize}
\end{thm}
\end{document}

相关内容