Received: from mail.proteosys.com ([62.225.9.49]) by nummer-3.proteosys with Microsoft SMTPSVC(5.0.2195.5329); Fri, 7 Feb 2003 21:00:27 +0100 Received: by mail.proteosys.com (8.12.2/8.12.2) with ESMTP id h17K0O6C002355 for ; Fri, 7 Feb 2003 21:00:25 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.27]) by relay2.uni-heidelberg.de (8.12.4/8.12.4) with ESMTP id h17JXPtt008415; Fri, 7 Feb 2003 20:33:26 +0100 (MET) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C2CEE3.8EE3FF80" Received: from listserv (listserv.uni-heidelberg.de [129.206.100.27]) by listserv.uni-heidelberg.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id h17636bo006315; Fri, 7 Feb 2003 20:25:26 +0100 Received: from LISTSERV.UNI-HEIDELBERG.DE by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8d) with spool id 7310 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Fri, 7 Feb 2003 20:25:26 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id h17JPQPw011090 for ; Fri, 7 Feb 2003 20:25:26 +0100 Received: from sunshine.math.utah.edu (IDENT:vqL7fvsm0JLEEJuGNBkULsLGGgkmS4Vz@sunshine.math.utah.edu [128.110.198.2]) by relay.uni-heidelberg.de (8.12.4/8.12.4) with ESMTP id h17JXGXM023483 for ; Fri, 7 Feb 2003 20:33:17 +0100 (MET) Received: from suncore.math.utah.edu (IDENT:Awe/xRloKphcA72OMMptpP/Pb/utkj/z@suncore0.math.utah.edu [128.110.198.5]) by sunshine.math.utah.edu (8.9.3/8.9.3) with ESMTP id MAA25458; Fri, 7 Feb 2003 12:33:14 -0700 (MST) Received: (from beebe@localhost) by suncore.math.utah.edu (8.9.3/8.9.3) id MAA09747; Fri, 7 Feb 2003 12:33:13 -0700 (MST) In-Reply-To: Your message of Fri, 7 Feb 2003 13:17:32 -0500 Return-Path: X-OriginalArrivalTime: 07 Feb 2003 20:00:27.0462 (UTC) FILETIME=[8F2A7E60:01C2CEE3] X-Scanned-By: MIMEDefang 2.28 (www . roaringpenguin . com / mimedefang) x-url: http://www.math.utah.edu/~beebe X-Spam-Score: -1.1 () IN_REP_TO,QUOTED_EMAIL_TEXT,SPAM_PHRASE_01_02 x-fax: +1 801 585 1640, +1 801 581 4148 x-us-mail: "Center for Scientific Computing, Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" x-telephone: +1 801 581 5254 Content-class: urn:content-classes:message Subject: Re: footnote numbers Date: Fri, 7 Feb 2003 20:33:13 +0100 Message-ID: A X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: footnote numbers Thread-Index: AcLO449DpTbs0T60QzeBVnvFgiLhSA== From: "Nelson H. F. Beebe" To: Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 4538 This is a multi-part message in MIME format. ------_=_NextPart_001_01C2CEE3.8EE3FF80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Richard Smyth asks on Fri, 7 Feb 2003 19:37:56 +0100: >> ... journal that uses square brackets around the footnote numbers in >> the text, but not in the footnotes themselves. I don't know of an existing style that does this, but I found a workable solution. The fundamental problem is that the footnote design has always assumed that the same marker is used at the point the footnote is referenced, and at the point where it is given at the bottom of the page. Typeset ltfloat.dtx (e.g., from ftp://ctan.tug.org/tex-archive/macros/latex/base/ltfloat.dtx ) for documentation on pp. 13ff of how footnotes work. To get what you want, that critical assumption has to be overcome by suitable rewriting of macros. Run latex2e on this little test file to see my solution: \documentclass{article} \makeatletter \def\@makefnmark{\hbox{\Huge{FN: \normalfont\@thefnmark}}} \def\@makefnmarkinline{\hbox{[{\normalfont\@thefnmark}}]} \def\@footnotemark{% \leavevmode \ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi \@makefnmarkinline \ifhmode\spacefactor\@x@sf\fi \relax} \makeatother \begin{document} This is a footnote\footnote{This is the first one.} and this is too.\footnote{This is the second one.} \end{document} What I did here was to redefine \@footnotemark (from latex.ltx) to use \@makefnmarkinline instead of the normal \@makefnmark. I provided silly definitions of both \@makefnmark and \@makefnmarkinline to make them distinctive. dvi2tty shows the result like this: This is a footnote[1] and this is too.[2] ____________________________ FN: 1 This is the first one. FN: 2 This is the second one. Of course, the stuff between \makeatletter and \makeatother should be moved into a new .sty file with suitable documentation in comments, and then you can replace that ugly block with a simple \usepackage{funnyfootnotes}. -------------------------------------------------------------------------= ------ - Nelson H. F. Beebe Tel: +1 801 581 5254 = - - Center for Scientific Computing FAX: +1 801 581 4148 = - - University of Utah Internet e-mail: = beebe@math.utah.edu - - Department of Mathematics, 110 LCB beebe@acm.org = beebe@computer.org - - 155 S 1400 E RM 233 beebe@ieee.org = - - Salt Lake City, UT 84112-0090, USA URL: = http://www.math.utah.edu/~beebe - -------------------------------------------------------------------------= ------ ------_=_NextPart_001_01C2CEE3.8EE3FF80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: footnote numbers

Richard Smyth <smyth@NC.RR.COM> asks on Fri, 7 = Feb 2003 19:37:56 +0100:

>> ... journal that uses square brackets around = the footnote numbers in
>> the text, but not in the footnotes = themselves.

I don't know of an existing style that does this, but = I found a
workable solution.

The fundamental problem is that the footnote design = has always assumed
that the same marker is used at the point the = footnote is referenced,
and at the point where it is given at the bottom of = the page.

Typeset ltfloat.dtx (e.g., from

        ftp= ://ctan.tug.org/tex-archive/macros/latex/base/ltfloat.dtx

) for documentation on pp. 13ff of how footnotes = work.

To get what you want, that critical assumption has to = be overcome by
suitable rewriting of macros.

Run latex2e on this little test file to see my = solution:

        = \documentclass{article}

        = \makeatletter
        = \def\@makefnmark{\hbox{\Huge{FN: \normalfont\@thefnmark}}}
        = \def\@makefnmarkinline{\hbox{[{\normalfont\@thefnmark}}]}

        = \def\@footnotemark{%
          = \leavevmode
          = \ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi
          = \@makefnmarkinline
          = \ifhmode\spacefactor\@x@sf\fi
          = \relax}
        = \makeatother

        = \begin{document}

        This is a = footnote\footnote{This is the first one.}
        and this = is too.\footnote{This is the second one.}

        = \end{document}

What I did here was to redefine \@footnotemark (from = latex.ltx) to use
\@makefnmarkinline instead of the normal = \@makefnmark.  I provided
silly definitions of both \@makefnmark and = \@makefnmarkinline to make
them distinctive.

dvi2tty shows the result like this:

          &nbs= p;         This is a footnote[1] = and this is too.[2]

          &nbs= p;      ____________________________

        FN:  = 1      This is the first one.

        FN:  = 2      This is the second one.

Of course, the stuff between \makeatletter and = \makeatother should be
moved into a new .sty file with suitable = documentation in comments,
and then you can replace that ugly block with a = simple
\usepackage{funnyfootnotes}.

----------------------------------------------------------------= ---------------
- Nelson H. F. = Beebe           &n= bsp;        Tel: +1 801 581 = 5254           &nb= sp;      -
- Center for Scientific = Computing       FAX: +1 801 581 = 4148           &nb= sp;      -
- University of = Utah           &nb= sp;        Internet e-mail: = beebe@math.utah.edu  -
- Department of Mathematics, 110 = LCB        beebe@acm.org  = beebe@computer.org -
- 155 S 1400 E RM = 233           &nbs= p;           = beebe@ieee.org          = ;          -
- Salt Lake City, UT 84112-0090, = USA    URL: http://www.math.utah.edu/~beebe<= /A>  -
----------------------------------------------------------------= ---------------

------_=_NextPart_001_01C2CEE3.8EE3FF80--