删除脚注中引文前的空格

删除脚注中引文前的空格

在我的文档中,有时我需要将引文单独放在脚注中。在这种情况下,问题是在引文前插入了一条白线。

如何摆脱它?

以下是 MWE:

\documentclass[a5paper,10pt]{article}

\begin{document}

Text with a footnote which contains a quote alone\footnote{\begin{quote}This is a quotation and I don't want empty line before. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\end{quote}}.
Text with a footnote which contains a quotation introduced by some words\footnote{Here is a quotation:\begin{quote}This is a quotation with introductory text. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\end{quote}}.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

\end{document}

在此处输入图片描述

请注意,我曾尝试使用quoting带有vskip=0pt设置的包,但没有效果。

理想情况下,我想定义一个新的环境,比如说footnotequote,它可以解决单独引用时的空行问题,但也可以在引用之前给出介绍性文字时保留默认显示,如第二个例子所示。

感谢您的帮助。

相关内容