# [texhax] Numbering within sections

Wed Jan 30 07:25:41 CET 2008

Hello all,
I hate to abuse the mailing list twice in one day, but I have been
googling for hours. I need to number my citations within the section, just
like tables and figures. For the latter, I use
\numberwithin{figure}{section}
in my preamble, but sadly there is no corresponding
\numberwithin{citation}{section}.

labels (like the list environment) instead of a counter. I'm using the
natbib package, so I can get the citation to look correct in the text with
\newcommand{\citenumfont}[1]{[\thesection-#1]}.

Unfortunately, this does not reset the counter at the end of the section,
and doesn't help with the References section at the end, either. I did a
search within natbib.sty for counters, finding NAT at ctr, but
\numberwithin{NAT at ctr}{section}
did nothing.

I am really trying to make LaTeX easy for the other members of my group in
hopes of tearing them away from Microsoft Word, so any recommendations would
help me out tremendously.

Sincerely,
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/texhax/attachments/20080130/6d86a01c/attachment-0001.html