Thanks in advance,
Alessandro Armando
Regards,
Erica Harris
Meat Industry Research Institute of New Zealand
Hamilton
New Zealand
********************************************************************
%% FILE: endnotes.sty in $SYS2.TEX.PUB.ISULATEX.STYLES
%% AUTHOR: Erica M. S. Harris
%% DATE: August 1990
%% DESCR: Style option
%% Macros for making endnotes.
%% Use \endnote{text} to generate the reference number in the text
%% just as you would with \footnote. At the end of your document or
%% at the end of each chapter, type \producenotes to output all end
%% notes collected so far ie since the start of the document or the
%% last \producenotes.
%% The \setendnotefont command can be used to set the font for the
%% end notes, e.g., \setendnotefont{\sf}. The default is the current
%% font.
%%
%% MODS:
%%
\newbox\endnotebox
\def\setendnotefont#1{\gdef\endnotefont{#1}}
\def\endnotefont{}
\newcounter{endnotecount}
\def\endnote{\stepcounter{endnotecount}%
\xdef\@theenmark{\theendnotecount}\@endnotemark\@endnotetext}
\def\@endnotemark{\leavevmode\ifhmode\edef\@x@sf{\the\spacefactor}\fi%
\hbox{$^{\@theenmark}$}%
\ifhmode\spacefactor\@x@sf\fi\relax}
\long\def\@endnotetext#1{\global\setbox\endnotebox=
\vbox{\endnotefont
\hsize\columnwidth\@parboxrestore
\def\baselinestretch{1}\@normalsize
\unvbox\endnotebox\@makeentext{\ignorespaces#1\strut\par}}}
\long\def\@makeentext#1{\parindent 1em \noindent
\hbox to 1.8em{\hss\@theenmark.~}#1}
%
\def\producenotes{%
\ifvoid\endnotebox\else\medskip\unvbox\endnotebox\par\fi%
\setcounter{endnotecount}{0}}