微类型突起与 quote、changemargin 和 adjustwidth 环境不兼容

微类型突起与 quote、changemargin 和 adjustwidth 环境不兼容

这是我的问题。我需要一些文本来减少边距。不幸的是,建议的所有方法似乎都与微字体凸起不兼容。这是一个错误吗?有更好的方法吗?我该如何解决这个问题?

谢谢!

=======example tex======
%preamble
\usepackage{chngpage}

%change margin environment
\newenvironment{changemargin}[2]{
 \begin{list}{}{
    \setlength{\topsep}{0pt}
    \setlength{\leftmargin}{#1}
    \setlength{\rightmargin}{#2}
    \setlength{\listparindent}{\parindent}
    \setlength{\itemindent}{\parindent}
    \setlength{\parsep}{\parskip} }
    \item[]} {\end{list}}

%document

``So'' the quotes in the first line will be margin kerned (protruded) just like it should be.

\begin{adjustwidth}{1em}{1em}
``So'' the quotes to the left in this line will \emph{not} be margin kerned (protruded) just like it should be. Some extra text to make this obvious. Some extra text to make this obvious. Some extra text to make this obvious. Some extra text to make this obvious.
\end{adjustwidth}

\begin{changemargin}{1em}{1em}
``So'' the quotes to the left in this line will \emph{not} be margin kerned (protruded) just like it should be. Some extra text to make this obvious. Some extra text to make this obvious. Some extra text to make this obvious. Some extra text to make this obvious.
\end{changemargin}

\begin{quote}
``So'' the quotes to the left in this line will \emph{not} be margin kerned (protruded) just like it should be. Some extra text to make this obvious. Some extra text to make this obvious. Some extra text to make this obvious. Some extra text to make this obvious.
\end{quote}

====================

答案1

这个问题。由于 (在和 的\item情况下隐藏),因此仅对段落的第一个字符禁用了突出部分。quoteadjustwidth

该问题的答案给出了一些可能的解决方案,或者只是为了增加可以使用 TeX 原语的边距:

{\leftskip 1em\rightskip 1em%
``So'' the quotes to the left in this line will be margin kerned (protruded)...\par}

\leftskip注意,和的值\rightskip被查看在段落末尾\par,因此您需要在组内和结束之前包含}

相关内容