Jeremy C. Reed wrote:
On Thu, 16 Aug 2007, Helge Hafting wrote:

So to restate what I want: footnotes use numbers and letters starting with
"a" on first footnote per verse. Second and later footnotes per verse are
not numbered but use next letter alphabetically.

Any ideas or example code to do this?
I have ideas, but nto time to code it up.
First, look around and see if someone have done this already.
If not:
1. decide on how you number those verses. An enumeration
seems to fit better than "modified subsection", but use whatever you like.

That makes sense.

2. Set up the footnote counter to be reset when the enumeration/subsection
counter increments.

I found the footmisc package "perpage" option, the footnpag package and the perpage packages which can give me some ideas. But that seems to advanced as it has to keep track of page numbering.

So I tried:

[EMAIL PROTECTED]
Hm - I thought the enumeration counters were
enumi, enumii, enumiii, for the various levels.
But got:

You can't use '\spacefactor' in vertical mode.
LaTeX Error: Missing \begin{document}

I saw some examples for lyx in preamble but got same error when I tried:

[EMAIL PROTECTED]
or
[EMAIL PROTECTED]

Any ideas on how to do this?
When you use [EMAIL PROTECTED], make sure it is between
\makeatletter and \makeatother.  This because
the @-sign is normally not allowed in commands, and will
cause syntax errors.

Have a look at
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=addtoreset
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=running-nos
3. print the enum/subsec counter along with the footnote
counter
to get 1b, 3a, ...

That seems easy like:

\renewcommand{\thefootnote}{\thesection.\alph{footnote}} But that makes my footnote in the text like 1.0.a and the footnote at bottom like "1.0.a" (the section is 1. without any "0.".
This happened because \thesection already have a similiar
definition - the subsection counter is printed along with
it by a definition very similiar to yours.
Instead, consider something like:
\renewcommand{\thefootnote}{\arabic{section}\alph{footnote}}
So I tried adding:

\renewcommand{\thefootnotemark}{\alph{footnote}}

But that change both to just "a".
Having the footnote mark in text and the footnote mark
at the page bottom different could be tricky.

If these are provided by the same command, then you probably
need to redefine it so that it knows whether it is issued from
inside the \footnote command or not.

Helge Hafting

Reply via email to