smagt@fwi.uva.nl (Patrick van der Smagt) (02/13/91)
I am trying to use symbol footnotes (i.e., those that generate
*, **, +, ... instead of numbers) in my text. The macros I
used so far:
\catcode`\@=11
\newcount\symb@lnr
\newcount\thisp@ge
\symb@lnr=1
\thisp@ge=\c@page
\def\autosymbolnote#1{\let\@thefootn=\thefootnote%
\renewcommand{\thefootnote}{\fnsymbol{footnote}}%
\ifnum \c@page=\thisp@ge
\relax
\else
\symb@lnr=1
\thisp@ge=\c@page
\fi
\footnotemark[\the\symb@lnr]%
\footnotetext[\the\symb@lnr]{#1}%
\let\thefootnote=\@thefootn
\advance\symb@lnr by 1
}
However, it appears that the page counter is not incremented
until at least half of the next page is incremented (as noted
in the TeXBook). So how can I detect when a new page is started?
I don't want to change the routines that are evoked by \eject,
nor do I want to change headers or footers.
Patrick van der Smagt
/\/\
\ /
Organization: Faculty of Mathematics & Computer Science / \
University of Amsterdam, Kruislaan 403, _ \/\/ _
NL-1098 SJ Amsterdam, The Netherlands | | | |
Phone: +31 20 525 7524/7515 | | /\/\ | |
Fax: +31 20 525 7490 | | \ / | |
| | / \ | |
email: smagt@fwi.uva.nl | | \/\/ | |
| \______/ |
\________/
/\/\
``The opinions expressed herein are the author's only and do \ /
not necessarily reflect those of the University of Amsterdam.'' / \
\/\/
--
P.S. New address from Feb. 1:
University of Amsterdam, Dept. of Computer Systems
Kruislaan 403, NL--1098 SJ Amsterdam, THE NETHERLANDS
fax: +31 20 525 7490, tel: +31 20 525 7524/7515