home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / unixtex-6.1b-bin0.lha / lib / texmf / tex / latex2e / base / fleqn.clo (.txt) < prev    next >
LaTeX Document  |  1996-10-12  |  5KB  |  105 lines

  1. %% This is file `fleqn.clo', generated 
  2. %% on <1995/1/27> with the docstrip utility (2.2i).
  3. %% The original source files were:
  4. %% classes.dtx  (with options: `fleqn')
  5. %% Copyright 1994 the LaTeX3 project and the individual authors. 
  6. %% All rights reserved. For further copyright information see the file 
  7. %% legal.txt, and any other copyright indicated in this file. 
  8. %% This file is part of the LaTeX2e system. 
  9. %% ---------------------------------------- 
  10. %% This system is distributed in the hope that it will be useful, 
  11. %% but WITHOUT ANY WARRANTY; without even the implied warranty of 
  12. %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
  13. %% IMPORTANT NOTICE: 
  14. %% For error reports in case of UNCHANGED versions see bugs.txt. 
  15. %% Please do not request updates from us directly. Distribution is 
  16. %% done through Mail-Servers and TeX organizations. 
  17. %% You are not allowed to change this file. 
  18. %% You are allowed to distribute this file under the condition that 
  19. %% it is distributed together with all files mentioned in manifest.txt. 
  20. %% If you receive only some of these files from someone, complain! 
  21. %% You are NOT ALLOWED to distribute this file alone. You are NOT 
  22. %% ALLOWED to take money for the distribution or use of either this 
  23. %% file or a changed version, except for a nominal charge for copying 
  24. %% etc. 
  25. %% \CharacterTable
  26. %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
  27. %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
  28. %%   Digits        \0\1\2\3\4\5\6\7\8\9
  29. %%   Exclamation   \!     Double quote  \"     Hash (number) \#
  30. %%   Dollar        \$     Percent       \%     Ampersand     \&
  31. %%   Acute accent  \'     Left paren    \(     Right paren   \)
  32. %%   Asterisk      \*     Plus          \+     Comma         \,
  33. %%   Minus         \-     Point         \.     Solidus       \/
  34. %%   Colon         \:     Semicolon     \;     Less than     \<
  35. %%   Equals        \=     Greater than  \>     Question mark \?
  36. %%   Commercial at \@     Left bracket  \[     Backslash     \\
  37. %%   Right bracket \]     Circumflex    \^     Underscore    \_
  38. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
  39. %%   Right brace   \}     Tilde         \~}
  40. \ProvidesFile{fleqn.clo}
  41.               [1994/12/09 v1.2x
  42.                Standard LaTeX option (flush left equations)]
  43. \newdimen\mathindent
  44. \AtEndOfClass{\mathindent\leftmargini}
  45. \renewcommand{\[}{\relax
  46.                  \ifmmode\@badmath
  47.                  \else
  48.                    \begin{trivlist}%
  49.                      \@beginparpenalty\predisplaypenalty
  50.                      \@endparpenalty\postdisplaypenalty
  51.                      \item[]\leavevmode
  52.                      \hbox to\linewidth\bgroup $\m@th\displaystyle %$
  53.                        \hskip\mathindent\bgroup
  54.                  \fi}
  55. \renewcommand{\]}{\relax
  56.                  \ifmmode
  57.                        \egroup $\hfil% $
  58.                      \egroup
  59.                    \end{trivlist}%
  60.                  \else \@badmath
  61.                  \fi}
  62. \renewenvironment{equation}%
  63.     {\@beginparpenalty\predisplaypenalty
  64.      \@endparpenalty\postdisplaypenalty
  65.      \refstepcounter{equation}%
  66.      \trivlist \item[]\leavevmode
  67.        \hbox to\linewidth\bgroup $\m@th% $
  68.          \displaystyle
  69.          \hskip\mathindent}%
  70.         {$\hfil % $
  71.          \displaywidth\linewidth\hbox{\@eqnnum}%
  72.        \egroup
  73.      \endtrivlist}
  74. \renewenvironment{eqnarray}{%
  75.     \stepcounter{equation}%
  76.     \def\@currentlabel{\p@equation\theequation}%
  77.     \global\@eqnswtrue\m@th
  78.     \global\@eqcnt\z@
  79.     \tabskip\mathindent
  80.     \let\\=\@eqncr
  81.     \setlength{\abovedisplayskip}{\topsep}%
  82.     \ifvmode
  83.       \addtolength{\abovedisplayskip}{\partopsep}%
  84.     \fi
  85.     \addtolength{\abovedisplayskip}{\parskip}%
  86.     \setlength{\belowdisplayskip}{\abovedisplayskip}%
  87.     \setlength{\belowdisplayshortskip}{\abovedisplayskip}%
  88.     \setlength{\abovedisplayshortskip}{\abovedisplayskip}%
  89.     $$\everycr{}\halign to\linewidth% $$
  90.     \bgroup
  91.       \hskip\@centering
  92.       $\displaystyle\tabskip\z@skip{##}$\@eqnsel&%
  93.       \global\@eqcnt\@ne \hskip \tw@\arraycolsep \hfil${##}$\hfil&%
  94.       \global\@eqcnt\tw@ \hskip \tw@\arraycolsep
  95.         $\displaystyle{##}$\hfil \tabskip\@centering&%
  96.       \global\@eqcnt\thr@@
  97.         \hbox to \z@\bgroup\hss##\egroup\tabskip\z@skip\cr}%
  98.       {\@@eqncr
  99.     \egroup
  100.     \global\advance\c@equation\m@ne$$% $$
  101.     \global\@ignoretrue
  102.     }
  103. \endinput
  104. %% End of file `fleqn.clo'.
  105.