## Posts Tagged ‘counter’

### LaTeX hacking

Tuesday, February 17th, 2009

A friend of mine is currently writing his thesis, and is using LaTeX to do it (I would like to think that I had something to do with him chosing LaTeX over an ordinary word processor, but that remains to be discovered).

In any case, he has become increasingly good at groking it (somewhat better at it than me I might add), and since he doesn’t have a blog (I’m working on getting him to “see the light” there as well ;)) and here are two issues which he encountered, and resolved on his own:

The first problem was that some of the document classes reset the counter on the footnotes for every chapter, which he didn’t want. The solution:

﻿% no footnote counter reset
\usepackage{remreset}
\makeatletter \@removefromreset{footnote}{chapter}
\makeatother

The second problem was how to decrease the counter on an ordered list (for those few occasions when you want your list to start at 0 for instance):

﻿\begin{enumerate}
\end{enumerate}