11539Srgrimes.nr _0 \n(c.
21539Srgrimes.\" Copyright (c) 1988, 1993
31539Srgrimes.\"	The Regents of the University of California.  All rights reserved.
41539Srgrimes.\"
51539Srgrimes.\" Redistribution and use in source and binary forms, with or without
61539Srgrimes.\" modification, are permitted provided that the following conditions
71539Srgrimes.\" are met:
81539Srgrimes.\" 1. Redistributions of source code must retain the above copyright
91539Srgrimes.\"    notice, this list of conditions and the following disclaimer.
101539Srgrimes.\" 2. Redistributions in binary form must reproduce the above copyright
111539Srgrimes.\"    notice, this list of conditions and the following disclaimer in the
121539Srgrimes.\"    documentation and/or other materials provided with the distribution.
131539Srgrimes.\" 3. All advertising materials mentioning features or use of this software
141539Srgrimes.\"    must display the following acknowledgement:
151539Srgrimes.\"	This product includes software developed by the University of
161539Srgrimes.\"	California, Berkeley and its contributors.
171539Srgrimes.\" 4. Neither the name of the University nor the names of its contributors
181539Srgrimes.\"    may be used to endorse or promote products derived from this software
191539Srgrimes.\"    without specific prior written permission.
201539Srgrimes.\"
211539Srgrimes.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
221539Srgrimes.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
231539Srgrimes.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
241539Srgrimes.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
251539Srgrimes.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
261539Srgrimes.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
271539Srgrimes.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
281539Srgrimes.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
291539Srgrimes.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
301539Srgrimes.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
311539Srgrimes.\" SUCH DAMAGE.
321539Srgrimes.\"
3323657Speter.\"	@(#)footnote.me	8.1 (Berkeley) 6/5/93
3455031Sbde.\"
351539Srgrimes.\"	%beginstrip%
361539Srgrimes.\"
371539Srgrimes.de (f			\" *** begin footnote
387865Sbde.ec
391539Srgrimes.if "\\n(.z"|f" .tm Line \\n(c. -- Illegal footnote nesting
4033861Sbde.ie "\\n(.z"" \
41123257Smarcel\{\
42102227Smike.	nr _D \\n(dn
4333861Sbde.	nr _0 1v+\\n(nlu
44103728Swollman.	ev 2
45102227Smike.	da |f
46102227Smike.	in 0
47102227Smike.	xl \\n($lu-\\n(fuu
4815483Sbde.	@F \\n(ff
4915483Sbde.	sz \\n(fp
5015483Sbde.	vs \\n(.su*\\n($Ru
51102227Smike.	if !\\n(?f \
52102227Smike\{\
53102227Smike.		nr _b +1v	\" allow space for $s
541539Srgrimes.		$s
551539Srgrimes.	\}
5699640Sobrien.	br
57102227Smike.	if \\n(.p-\\n(_b-\\n(_0-\\n(.h-1v-\\n(fs<0 \
58102227Smike\{\
59102227Smike.		da\"		\" won't fit on page at all
601539Srgrimes.		bc
6199640Sobrien.		if !\\n(?f \
621539Srgrimes.			rm |f
631539Srgrimes.		da |f
64103766Sbde.\" next five lines could be dropped if headers had their own environment
65103766Sbde.		in 0		\" reset everything from .bc
661539Srgrimes.		xl \\n($lu-\\n(fuu
671539Srgrimes.		@F \\n(ff
681539Srgrimes.		sz \\n(fp
69103766Sbde.		vs \\n(.su*\\n($Ru
70103766Sbde.		if !\\n(?f \
711539Srgrimes.			$s
721539Srgrimes.		br
731539Srgrimes.	\}
741539Srgrimes.	rr _0
751539Srgrimes.	sp \\n(fsu
761539Srgrimes.	nr ?f 1
771539Srgrimes.	fi
781539Srgrimes.	if !"\\$1"_" \
791539Srgrimes.		ti \\n(fiu
801539Srgrimes.	if \n@>2 .tm	<< (f $f=\\n($f
811539Srgrimes.\}
8293032Simp.el \
83153684Sphk\{\
8493032Simp.	ev 2
8593032Simp\!.(f \\$1
8693032Simp.\}
8793032Simp..
8893032Simp.de )f			\" *** end footnote
8993032Simp.ie "\\n(.z"|f" \
9093032Simp\{\
9193032Simp.	if \\n* \
9293032Simp.		nr $f +1
9393032Simp.	ds * \\*[\\n($f\\*]\k*
9493032Simp.	rr *
9593032Simp.	in 0
9693032Simp.	da
9793032Simp.	ev
9893032Simp.	if \\n(_w<\\n(dl \
99103728Swollman.		nr _w \\n(dl	\" compute maximum fn width
100103766Sbde.	nr _b +\\n(dn
101103728Swollman.	ch @f -\\n(_bu
10293032Simp.	if \\n(.p-\\n(_b<=\\n(nl \
10393032Simp.		ch @f \\n(nlu+\n(.Vu
10493032Simp.	nr dn _D
10593032Simp.	rr _D
10693032Simp.\}
107103766Sbde.el \
108112163Sdas\{\
109103766Sbde.	br
110112163Sdas\!.)f
111112163Sdas.	ev
1121539Srgrimes.\}
113103012Stjr..
11493032Simp.if \n(ff<=0 \
11593032Simp.	nr ff 1			\" footnote font: Times Roman
116103012Stjr.if \n(fp<=0 \
1171539Srgrimes.	nr fp 8			\" footnote pointsize
118103728Swollman.nr c. \n(_0
119103728Swollman