消除引文周围的垂直空间,如上所述这里,当 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}