add support for \e to the {alltt} environment

This commit is contained in:
Fred Drake 2004-02-10 18:30:22 +00:00
parent d311f1fb9b
commit 29f5933fcb
2 changed files with 3 additions and 1 deletions

View File

@ -790,7 +790,8 @@ This \UNIX\ is also followed by a space.
\begin{macrodesc}{e}{}
Produces a backslash. This is convenient in \macro{code},
\macro{file}, and similar macros, and is only defined there. To
\macro{file}, and similar macros, and the \env{alltt}
environment, and is only defined there. To
create a backslash in ordinary text (such as the contents of the
\macro{citetitle} macro), use the standard \macro{textbackslash}
macro.

View File

@ -236,6 +236,7 @@
% Calculate the text width for the minipage:
\setlength{\py@codewidth}{\linewidth}%
\addtolength{\py@codewidth}{-\parindent}%
\let\e=\textbackslash%
%
\par\indent%
\begin{minipage}[t]{\py@codewidth}%