home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fonts 1 / freshfonts1.bin / programs / amiga / pastex / macros / misc / ftnright.sty (.txt) < prev    next >
LaTeX Document  |  1994-05-20  |  5KB  |  146 lines

  1. %% This is file `ftnright.sty', generated 
  2. %% on <1994/5/20> with the docstrip utility (2.0r).
  3. %% The original source files were:
  4. %% ftnright.doc  (with options: `style')
  5. %% Copyright (C) 1989-1992 by Frank Mittelbach. All rights reserved. 
  6. %% IMPORTANT NOTICE: 
  7. %% You are not allowed to change this file. You may however copy this 
  8. %% file to a file with a different name and then change the copy. 
  9. %% You are NOT ALLOWED to distribute this file alone. You are NOT 
  10. %% ALLOWED to take money for the distribution or use of this file (or a 
  11. %% changed version) except for a nominal charge for copying etc. 
  12. %% You are allowed to distribute this file under the condition that it is 
  13. %% distributed together with all files mentioned in readme.mz6. 
  14. %% If you receive only some of these files from someone, complain! 
  15. %% However, if these files are distributed by established suppliers as 
  16. %% part of a complete TeX distribution, and the structure of the 
  17. %% distribution would make it difficult to distribute the whole set of 
  18. %% files, *those parties* are allowed to distribute only some of the 
  19. %% files provided that it is made clear that the user will get a complete 
  20. %% distribution-set upon request to that supplier (not me). Notice that 
  21. %% this permission is not granted to the end user. 
  22. %% For error reports in case of UNCHANGED versions see readme files. 
  23. \def\filename{ftnright}
  24. \def\fileversion{v1.0d}
  25. \def\filedate{92/06/19}
  26. \def\docdate {92/06/19}
  27. %% \CheckSum{303}
  28. %% \CharacterTable
  29. %%  {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
  30. %%   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
  31. %%   Digits        \0\1\2\3\4\5\6\7\8\9
  32. %%   Exclamation   \!     Double quote  \"     Hash (number) \#
  33. %%   Dollar        \$     Percent       \%     Ampersand     \&
  34. %%   Acute accent  \'     Left paren    \(     Right paren   \)
  35. %%   Asterisk      \*     Plus          \+     Comma         \,
  36. %%   Minus         \-     Point         \.     Solidus       \/
  37. %%   Colon         \:     Semicolon     \;     Less than     \<
  38. %%   Equals        \=     Greater than  \>     Question mark \?
  39. %%   Commercial at \@     Left bracket  \[     Backslash     \\
  40. %%   Right bracket \]     Circumflex    \^     Underscore    \_
  41. %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
  42. %%   Right brace   \}     Tilde         \~}
  43. \wlog{Style Option: `\filename'
  44.   \fileversion\space <\filedate> (FMi)}
  45. \wlog{English Documentation
  46.   \@spaces\@spaces\space <\docdate> (FMi)}
  47. \def\preparefootins{%
  48.   \global\rcol@footinsskip\skip\footins
  49.   \global\skip\footins\z@
  50.   \global\count\footins\z@
  51.   \global\dimen\footins\textheight}
  52. \newskip\rcol@footinsskip
  53. \def\@outputdblcol{\if@firstcolumn
  54.   \global\@firstcolumnfalse
  55.   \global\setbox\@leftcolumn\box\@outputbox
  56.   \global\count\footins\@m
  57.   \global\skip\footins\rcol@footinsskip
  58.  \else \preparefootins
  59.   \global\@firstcolumntrue
  60.   \setbox\@outputbox\vbox{\hbox to\textwidth
  61.     {\hbox to\columnwidth
  62.                   {\box\@leftcolumn\hss}%
  63.      \hfil\vrule\@width\columnseprule\hfil
  64.      \hbox to\columnwidth
  65.                   {\box\@outputbox\hss}}}%
  66.   \@combinedblfloats\@outputpage
  67.   \begingroup
  68.    \@dblfloatplacement\@startdblcolumn
  69.    \@whilesw\if@fcolmade\fi
  70.     {\@outputpage\@startdblcolumn}%
  71.   \endgroup
  72.  \fi}
  73. \def\@startcolumn{%
  74.  \ifx\@deferlist\@empty
  75.    \global\@fcolmadefalse
  76.    \global\@colroom\@colht
  77.  \else
  78.    \ifvoid\footins\else
  79.      \ftn@amount\ht\footins
  80.      \advance\ftn@amount\dp\footins
  81.      \advance\ftn@amount\skip\footins
  82.    \fi
  83.    \global\advance\@colht-\ftn@amount
  84.    \global\@colroom\@colht
  85.    \@xstartcol
  86.    \global\advance\@colht\ftn@amount
  87.    \global\advance\@colroom\ftn@amount
  88.  \if@fcolmade
  89.   \setbox\@cclv\box\@outputbox
  90.   \@makecol
  91.  \else
  92.    \ifvoid\footins\else
  93.      \insert\footins{\unvbox\footins}\fi
  94.  \fi}
  95. \newdimen\ftn@amount
  96. \def\@makecol{\if@firstcolumn
  97.   \setbox\@outputbox\box\@cclv
  98.   \if@twocolumn \else
  99.     \ifvoid\footins \else
  100.       \@latexerr
  101.    {ftnright option used in one-column mode}%
  102.    {The ftnright option was designed to
  103.     work with LaTeX's standard^^Jtwocolumn
  104.     option. It does *not* work with the
  105.     multicol option.^^JSo please specify
  106.     `twocolum' in the \noexpand\documentstyle
  107.     command.}%
  108.       \shipout\box\footins \fi\fi
  109.  \else
  110.   \ifvoid\footins
  111.     \setbox\@outputbox\box\@cclv
  112.   \else
  113.     \setbox\@outputbox\vbox
  114.       {\ifvoid\@cclv \else
  115.          \unvbox\@cclv
  116.          \vskip\skip\footins\fi
  117.        \footnoterule\unvbox\footins}\fi
  118.   \fi
  119.   \xdef\@freelist{\@freelist\@midlist}%
  120.   \gdef\@midlist{}\@combinefloats
  121.   \setbox\@outputbox\vbox to\@colht
  122.      {\boxmaxdepth\maxdepth
  123.       \@texttop
  124.       \@tempdima\dp\@outputbox
  125.       \unvbox\@outputbox
  126.       \vskip-\@tempdima
  127.       \@textbottom}%
  128.   \global\maxdepth\@maxdepth}
  129. \ifcase \@ptsize
  130. \def\footnotesize{\@setsize\footnotesize
  131.    {9.9pt}\viiipt\@viiipt}
  132. \def\footnotesize{\@setsize\footnotesize
  133.    {11.1pt}\ixpt\@vixpt}
  134. \def\footnotesize{\@setsize\footnotesize
  135.    {12.3pt}\xpt\@xpt}
  136. \let\footnoterule\@empty
  137. {\normalsize
  138. \global\footnotesep\ht\strutbox}
  139. \long\def\@makefntext#1{\parindent 1em
  140.   \noindent\hbox to 2em{}%
  141.   \llap{$\@thefnmark.\;\;$}#1}
  142. \skip\footins 10pt plus 5pt minus 3pt
  143. \preparefootins
  144. \endinput
  145. %% End of file `ftnright.sty'.
  146.