![消除字母中引号周围的多余垂直空间](https://linux22.com/image/289397/%E6%B6%88%E9%99%A4%E5%AD%97%E6%AF%8D%E4%B8%AD%E5%BC%95%E5%8F%B7%E5%91%A8%E5%9B%B4%E7%9A%84%E5%A4%9A%E4%BD%99%E5%9E%82%E7%9B%B4%E7%A9%BA%E9%97%B4.png)
消除引文周围的垂直空间,如上所述这里,当 documentclass 为article
\documentclass[11pt]{article}
\usepackage{quoting}
\quotingsetup{vskip=0pt}
\begin{document}
\noindent We'd like to have
\begin{quoting}
\emph{no vertical space}
\end{quoting}
around this quote.
\end{document}
但当它不是的时候letter
。
\documentclass[11pt]{letter}
\usepackage{quoting}
\quotingsetup{vskip=0pt}
\begin{document}
\begin{letter}{Jack}
\noindent We'd like to have
\begin{quoting}
\emph{no vertical space}
\end{quoting}
around this quote.
\end{letter}
\end{document}
如何消除 documentclass 引号周围的垂直空格letter
?
答案1
该类letter
使用非零\parskip
。因此,通过删除添加的空间,您可以获得所需的内容:
\documentclass[11pt]{letter}
\usepackage{quoting}
\quotingsetup{vskip=-\parskip}
\begin{document}
\begin{letter}{Jack}
\noindent We'd like to have
\begin{quoting}
\emph{no vertical space}
\end{quoting}
around this quote.
\end{letter}
\end{document}