已编辑

已编辑

\blockquote当我的blockquote足够长时,latex在包中使用时不会加引号csquote,例如:

统计机器翻译 (SMT) 范式很大程度上归功于 Warren Weavers 于 1949 年向 Rockfella 基金会提交的备忘录 \citep{weaver1955translation}:

\blockquote{\emph{人们很容易说,用中文写的书只不过是一本用英文写的书,只不过被编码成了“中国密码”。如果我们有解决几乎所有密码问题的有用方法,那么,通过适当的解释,我们是否已经有了翻译的有用方法?}}

[出去]:

在此处输入图片描述

奇怪的是,当块引用很短时,LaTeX 会自动添加引号,并且不会像较长的块引用那样缩进:

在他的一份备忘录\emph{发现的艺术} (1685)中,他写道:

\blockquote{\emph{这种语言将成为理性的最重要工具……当人们之间发生争执时,我们可以简单地说:让我们算一算,不用多说,看看谁是对的。}}

[出去]:

在此处输入图片描述

更奇怪的是,它与 里面的内容无关\blockquote,当我用一些垃圾邮件扩展短引号以使其足够长时,它会跳回到长引号的设置\blockquote

在他的一份备忘录\emph{发现的艺术} (1685)中,他写道:

\blockquote{\emph{这种语言将成为理性的最重要工具……当人们之间发生争执时,我们可以简单地说:让我们算一算,不用多说,看看谁是对的。spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam}}

[出去]:

在此处输入图片描述

如何禁用短块引用中的自动引号?

如何设置长块引用的引号?

我如何才能使短块引用像长块引用一样缩进?


已编辑

这是一个最小工作示例:

\documentclass[11pt]{article}
\usepackage{csquotes}
\begin{document}

The Statistical Machine Translation (SMT) paradigm is largely attributed to Warren Weavers memorandum to the Rockfella foundation in 1949:

\blockquote{\emph{It is very tempting to say that a book written in Chinese is simply a book written in English which was coded into the ``Chinese code". If we have useful methods for solving almost any cryptographic problem, may it not be that with proper interpretation we already have useful methods for translation?}}

\vspace{10mm}

In one of his memo, \emph{The Art of Discovery} (1685), he writes:

\blockquote{\emph{This language will be the greatest instrument of reason ... when there are disputes among persons, we can simply say: Let us calculate, without further ado, and see who is right.}}

\vspace{10mm}
In one of his memo, \emph{The Art of Discovery} (1685), he writes:

\blockquote{\emph{This language will be the greatest instrument of reason ... when there are disputes among persons, we can simply say: Let us calculate, without further ado, and see who is right. spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam}}


\end{document}

并输出:

在此处输入图片描述

答案1

\blockquote根据长度确定引用是显示引用还是内联引用。如果是后者,则将用引号括起来(内联引用很常见)。

如果您想强制所有引号都为显示引号,最好使用以下显示引号环境之一:

\begin{displayquote}
...
\end{displayquote}

或者,您可以使用阻止阈值强制\blockquote{}显示所有内容。将阻止阈值设置为0将执行以下操作:

\SetBlockThreshold{0}

如果您希望所有块引用都包含在\emph宏中,那么您应该重新定义\mkblockquote钩子:

\renewcommand{\mkblockquote}[4]{\emph{#1}#2#3#4}

如果您希望所有块引用都用引号引起来:

\renewcommand{\mkblockquote}[4]{\enquote{#1}#2#3#4}

这是您的示例,其中列举了所有这些选项。我\emph{}从第一个块引用中删除了 ,但没有从第二个块引用中删除,以显示\emph{}重新定义的块引用中的 正确处理块引用内的强调文本。

\documentclass[11pt]{article}
\usepackage{csquotes}
\SetBlockThreshold{0}
\renewcommand{\mkblockquote}[4]{{\emph{#1}}#2#3#4}
\begin{document}

The Statistical Machine Translation (SMT) paradigm is largely attributed to Warren Weavers memorandum to the Rockfella foundation in 1949:

\blockquote{It is very tempting to say that a book written in Chinese is simply a book written in English which was coded into the ``Chinese code". If we have useful methods for solving almost any cryptographic problem, may it not be that with proper interpretation we already have useful methods for translation?}

\vspace{10mm}

In one of his memo, \emph{The Art of Discovery} (1685), he writes:

\blockquote{\emph{This language will be the greatest instrument of reason ... when there are disputes among persons, we can simply say: Let us calculate, without further ado, and see who is right.}}

\vspace{10mm}
\renewcommand{\mkblockquote}[4]{{\enquote{#1}}#2#3#4}
In one of his memo, \emph{The Art of Discovery} (1685), he writes:


\blockquote{This language will be the greatest instrument of reason ... when there are disputes among persons, we can simply say: Let us calculate, without further ado, and see who is right. spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam spam}


\end{document}

代码输出

相关内容