Debian Codegraph @

texmf-dist/tex/latex/base/fleqn.clo

raw
1 %%
2 %% This is file `fleqn.clo',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% ltmath.dtx (with options: `fleqn')
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 %%% From File: ltmath.dtx
45 \ProvidesFile{fleqn.clo}
46 [2016/12/29 v1.2b Standard LaTeX option
47 (flush left equations)]
48 \newskip\mathindent
49 \AtEndOfClass{\mathindent\leftmargini}
50 \IncludeInRelease{2015/01/01}{\[}{Make \[ robust}%
51 \DeclareRobustCommand\[{\relax
52 \ifmmode\@badmath
53 \else
54 \begin{trivlist}%
55 \@beginparpenalty\predisplaypenalty
56 \@endparpenalty\postdisplaypenalty
57 \item[]\leavevmode
58 \hb@xt@\linewidth\bgroup $\m@th\displaystyle %$
59 \hskip\mathindent\bgroup
60 \fi}
61 \EndIncludeInRelease
62 \IncludeInRelease{0000/00/00}{\[}{Make \[ robust}%
63 \renewcommand\[{\relax
64 \ifmmode\@badmath
65 \else
66 \begin{trivlist}%
67 \@beginparpenalty\predisplaypenalty
68 \@endparpenalty\postdisplaypenalty
69 \item[]\leavevmode
70 \hb@xt@\linewidth\bgroup $\m@th\displaystyle %$
71 \hskip\mathindent\bgroup
72 \fi}
73 \EndIncludeInRelease
74 \IncludeInRelease{2015/01/01}{\]}{Make \] robust}%
75 \DeclareRobustCommand\]{\relax
76 \ifmmode
77 \egroup $\hfil% $
78 \egroup
79 \end{trivlist}%
80 \else \@badmath
81 \fi}
82 \EndIncludeInRelease
83 \IncludeInRelease{0000/00/00}{\]}{Make \] robust}%
84 \renewcommand\]{\relax
85 \ifmmode
86 \egroup $\hfil% $
87 \egroup
88 \end{trivlist}%
89 \else \@badmath
90 \fi}
91 \EndIncludeInRelease
92 \renewenvironment{equation}%
93 {\@beginparpenalty\predisplaypenalty
94 \@endparpenalty\postdisplaypenalty
95 \refstepcounter{equation}%
96 \trivlist \item[]\leavevmode
97 \hb@xt@\linewidth\bgroup $\m@th% $
98 \displaystyle
99 \hskip\mathindent}%
100 {$\hskip .3em minus.3em\hfil % $
101 \displaywidth\linewidth\hbox{\@eqnnum}%
102 \egroup
103 \endtrivlist}
104 \renewenvironment{eqnarray}{%
105 \stepcounter{equation}%
106 \def\@currentlabel{\p@equation\theequation}%
107 \def\@currentcounter{equation}%
108 \global\@eqnswtrue\m@th
109 \global\@eqcnt\z@
110 \tabskip\mathindent
111 \let\\=\@eqncr
112 \setlength\abovedisplayskip{\topsep}%
113 \ifvmode
114 \addtolength\abovedisplayskip{\partopsep}%
115 \fi
116 \addtolength\abovedisplayskip{\parskip}%
117 \setlength\belowdisplayskip{\abovedisplayskip}%
118 \setlength\belowdisplayshortskip{\abovedisplayskip}%
119 \setlength\abovedisplayshortskip{\abovedisplayskip}%
120 \dollardollar@begin\everycr{}\halign to\linewidth%
121 \bgroup
122 \hskip\@centering
123 $\displaystyle\tabskip\z@skip{##}$\@eqnsel&%
124 \global\@eqcnt\@ne \hskip \tw@\arraycolsep \hfil${##}$\hfil&%
125 \global\@eqcnt\tw@ \hskip \tw@\arraycolsep
126 $\displaystyle{##}$\hfil \tabskip\@centering&%
127 \global\@eqcnt\thr@@
128 \hb@xt@\z@\bgroup\hss##\egroup\tabskip\z@skip\cr}%
129 {\@@eqncr
130 \egroup
131 \global\advance\c@equation\m@ne\dollardollar@end
132 \@ignoretrue
133 }
134 \endinput
135 %%
136 %% End of file `fleqn.clo'.