home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / texmf / inputs / misc / ftnright.sty < prev    next >
Encoding:
Text File  |  1994-05-20  |  5.2 KB  |  171 lines

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