Debian Codegraph @

texmf-dist/tex/latex/base/alltt.sty

raw
1 %%
2 %% This is file `alltt.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% alltt.dtx (with options: `package')
8 %%
9 %% This is a generated file.
10 %%
11 %% The source is maintained by the LaTeX Project team and bug
12 %% reports for it can be opened at https://latex-project.org/bugs.html
13 %% (but please observe conditions on bug reports sent to that address!)
14 %%
15 %%
16 %% Copyright (C) 1993-2025
17 %% The LaTeX Project and any individual authors listed elsewhere
18 %% in this file.
19 %%
20 %% This file was generated from file(s) of the LaTeX base system.
21 %% --------------------------------------------------------------
22 %%
23 %% It may be distributed and/or modified under the
24 %% conditions of the LaTeX Project Public License, either version 1.3c
25 %% of this license or (at your option) any later version.
26 %% The latest version of this license is in
27 %% https://www.latex-project.org/lppl.txt
28 %% and version 1.3c or later is part of all distributions of LaTeX
29 %% version 2008 or later.
30 %%
31 %% This file has the LPPL maintenance status "maintained".
32 %%
33 %% This file may only be distributed together with a copy of the LaTeX
34 %% base system. You may however distribute the LaTeX base system without
35 %% such generated files.
36 %%
37 %% The list of all files belonging to the LaTeX base distribution is
38 %% given in the file `manifest.txt'. See also `legal.txt' for additional
39 %% information.
40 %%
41 %% The list of derived (unpacked) files belonging to the distribution
42 %% and covered by LPPL is defined by the unpacking scripts (with
43 %% extension .ins) which are part of the distribution.
44 %%
45 %% File `alltt.dtx'.
46 %% Copyright (C) 1987 by Leslie Lamport
47 %% Copyright (C) 1994-2021 LaTeX Project, Johannes Braams
48 %% all rights reserved.
49 %%
50 \NeedsTeXFormat{LaTeX2e}
51 \ProvidesPackage{alltt}
52 [2024/07/07 v2.0g defines alltt environment]
53 \begingroup
54 \lccode`\~=`\'
55 \lowercase{\endgroup
56 \newenvironment{alltt}{%
57 \trivlist
58 \item\relax
59 \if@minipage
60 \else
61 \vskip\parskip
62 \fi
63 \leftskip\@totalleftmargin
64 \rightskip\z@skip
65 \parindent\z@
66 \parfillskip\@flushglue
67 \parskip\z@skip
68 \@@par
69 \@tempswafalse
70 \def\par{%
71 \if@tempswa
72 \leavevmode\null\@@par\penalty\interlinepenalty
73 \else
74 \@tempswatrue
75 \ifhmode\@@par\penalty\interlinepenalty\fi
76 \fi}
77 \obeylines
78 \verbatim@font
79 \let\org@prime~%
80 \@noligs
81 \everymath\expandafter{\the\everymath
82 \catcode`\'=12 \let~\org@prime}
83 \everydisplay\expandafter{\the\everydisplay
84 \catcode`\'=12 \let~\org@prime}
85 \let\org@dospecials\dospecials
86 \g@remfrom@specials{\\}
87 \g@remfrom@specials{\{}
88 \g@remfrom@specials{\}}
89 \let\do\@makeother
90 \dospecials
91 \let\dospecials\org@dospecials
92 \frenchspacing\@vobeyspaces
93 \everypar \expandafter{\the\everypar \unpenalty}}
94 {\endtrivlist}}
95 \def\g@remfrom@specials#1{%
96 \def\@new@specials{}
97 \def\@remove##1{%
98 \ifx##1#1\else
99 \g@addto@macro\@new@specials{\do ##1}\fi}
100 \let\do\@remove\dospecials
101 \let\dospecials\@new@specials
102 }
103 \endinput
104 %%
105 %% End of file `alltt.sty'.