How can I reset the counter in footnotes or endnotes?
Thanx
Robin
\setcounter{footnote}{<value>}
and similarly for endnote, i guess.
but why? sounds to me like a formula for confusion, especially with
endnotes. far better to have a package to do the job systematically.
--
Robin Fairbairns, Cambridge
> I'm writing my dissertation, and each chapter should start with a new
> set of footnotes. So the numbering should restart with each chapter.
> If there is a package to do the job, what is it?
<URL:http://www.tex.ac.uk/cgi-bin/texfaq2html?label=running-nos>
I would probably use chngcntr.sty.
cheerio
ralf
package remreset
\makeatletter
\@addtoreset{footnote}{chapter}
\makeatother
Herbert
> robin schrieb:
> > I'm writing my dissertation, and each chapter should start with a
> > new set of footnotes. So the numbering should restart with each
> > chapter. If there is a package to do the job, what is it?
>
> package remreset
>
> \makeatletter
> \@addtoreset{footnote}{chapter}
> \makeatother
Actually, you don't need the package remreset, unless you want to do
the opposite (have some counter run through that LaTeX would like to
reset periodically).
\@addtoreset is a standard part of LaTeX.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
UKTUG FAQ: <URL:http://www.tex.ac.uk/cgi-bin/texfaq2html>
example:
Title 1
note1
note2
note3
Title 2
note1
note2
note3
Robin
> Can I than give each section of the notes a different name?
>
> example:
> Title 1
> note1
> note2
> note3
> Title 2
> note1
> note2
> note3
something like this?
\renewcommand{\thefootnote}{\thechapter-\arabic{footnote}}
Herbert
well, if the other robin is using the standard classes, there's no
need even for that, since the footnote numbering is already reset per
chapter. (i think it's a fairly common arrangement.)
--
Robin Fairbairns, Cambridge
The resetting of the notenumbering is no problem, but since I use
endnotes, I would like to insert the chapternames in the page where the
notes are, so the reader can see which notes belong to which chapter.
How can I do that?