回憶錄,逐字:如何刪除逐字文字中的空格符號

回憶錄,逐字:如何刪除逐字文字中的空格符號

為什麼以下 MWE 會產生以下結果:

在此輸入影像描述

\documentclass{memoir}

\begin{document}
why in the verbatim text is shown blank space symbol \verb!verbatim text!?
\end{document}

如何刪除逐字文字中的空格符號?

答案1

Memoir 有一個逐字包的嵌入副本,並且在最新的核心更新中給出了錯誤。

現在您可以使用此修復程序

\makeatletter
\begingroup
 \catcode`\ =\active%
 \def\x{\def\@vobeyspaces{\catcode`\ \active\let \@xobeysp\@vobeytabs}}
 \expandafter\endgroup\x
\makeatother

我計劃刪除嵌入,而是加載verbatim包並向其中添加一些內容(儘管某些功能將被刪除)。

相關內容