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 < prev    next >
Encoding:
Text File  |  1996-10-12  |  4.4 KB  |  120 lines

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