我正在与quoting
环境,但我不知道如何调整它前后的垂直空间。我希望环境像现在这样在两侧缩进,但前后没有完整的段落返回。
文档quoting
说引号顶部的空间由 控制vskip
。我尝试将vskip
选项调整为,vskip=-8pt
但没有任何效果。我也尝试在环境\noindent
前添加quoting
-- ,但也没有效果。
这是一个最小的工作示例。
\documentclass[11pt, oneside]{article}% use "amsart" instead of "article" for AMSLaTeX format
% TeX will automatically convert eps --> pdf in pdflatex
\usepackage{amssymb}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage[parfill]{parskip} %use line breaks instead of indentation
\usepackage{quoting} %For inset quotes more than three lines
\title{Brief Article}
\author{The Author}
%\date{} % Activate to display a given date or no date
\begin{document}
\maketitle
%\section{}
%\subsection{}
\blindtext
\begin{quoting}
This is a quote which should be indented but should not have a full
paragraph line before it or after it. In other words it should be
indented on either side but shouldn't have a full paragraph skip before.
\end{quoting}
\Blindtext
\end{document}
答案1
使用该vskip=-\parskip
选项似乎可以解决问题。
\documentclass[11pt]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage[parfill]{parskip}
\usepackage[vskip=-\parskip]{quoting}
\begin{document}
\blindtext
\begin{quoting}
This is a quote which should be indented but should not have a full
paragraph line before it or after it. In other words it should be
indented on either side but shouldn't have a full paragraph skip before.
\end{quoting}
\blindtext
\blindtext
\end{document}
答案2
quoting
看起来和之间存在一些冲突parskip
。如果您注释掉该\usepackage[parfill]{parskip}
行,则[vskip=0pt]
后面的选项\begin{quoting}
将按预期工作。
此外,这看起来像是如何修改引用环境周围的间距?