更改每个报价块的保证金

更改每个报价块的保证金

我有一个问题,我正在尝试为每个 \begin{quote} 块设置边距。我已经通过以下方式更改了文本大小:

\usepackage{etoolbox}
\AtBeginEnvironment{quote}{\par\scriptsize} %or maybe \footnotesize 

现在,我正在研究如何将每个引文块的边距设置为左侧,我在每个块上都这样做,如下例所示。有没有办法自动设置?文本每页有两列文本,就像大多数文章模板一样。

Concerning technological development, it is essential the identification of challenges and interests aroused from musical practices and its technological surroundings. According to Miller Puckette (2014), developer of the software Pure Data, one of the challenges for his field is the limited understanding about the consequences of software design on musical practices  \cite{puckettedeadly}:

\begin{quote}
    \begin{adjustwidth}{1cm}{-0.7cm}
    %\footnotesize
    I think that musicologists might find some excellent research questions here. How, exactly, are the implications of software design choices insidiously affecting the practice of music composition and performance today? If software developers like me knew more about this, we could use the knowledge to inform our designs. The thing that limits us is not so much the time spent writing the code, as it is the limited understanding we have about what is needed.\cite{puckettedeadly}
    \end{adjustwidth}
\end{quote}

在此处输入图片描述

PS:文字仅是草图。

答案1

标准类中 quote 环境的定义是

\newenvironment{quote}
               {\list{}{\rightmargin\leftmargin}%
                \item\relax}
               {\endlist}

你有两个选择。第一个是定义(在序言中)另一个环境,比如 modquote,如下所示:

\newenvironment{modquote}
               {\list{}{\leftmargin=0.75in%
                        \rightmargin\leftmargin}%
                \item\relax}
               {\endlist}

然后您将quotemodquote环境替换所有环境。

选项 2 仅当您不打算在任何地方使用 unaltered 时才有效,即用和上面quote替换,如下所示:modquotequote\newenvironment\renewenvironment

\renewenvironment{quote}
               {\list{}{\leftmargin=0.75in%
                        \rightmargin\leftmargin}%
                \item\relax}
               {\endlist}

这将彻底重新定义quote环境。

相关内容