changing the symbol used in \footnote{}
I want to use the crucifix symbol as a footnote symbol on the title page of a book. I don't want this to increment the footnote counter. The best I can do is: \setupnotation[footnote][way=bypage, state=stop, number=†] but this does not produce any symbol at all. If I do: \setupnotation[footnote][numberconversion=set 2] then I get an asterix, not a crucifix, and I don't know how to prevent or otherwise reset the footnote counter for subsequent footnote numberings. David Roderick.
On 2024-10-20 19:29, David Roderick wrote:
I want to use the crucifix symbol as a footnote symbol on the title page of a book. I don't want this to increment the footnote counter. The best I can do is:
\setupnotation[footnote][way=bypage, state=stop, number=†]
but this does not produce any symbol at all.
If I do:
\setupnotation[footnote][numberconversion=set 2]
then I get an asterix, not a crucifix, and I don't know how to prevent or otherwise reset the footnote counter for subsequent footnote numberings.
David Roderick.
The following (tested) shows how to do this. You define a separate series of footnotes (TitleFn below) with its own counter (TitleFnCount) that functions independently of the default footnote series. You also define the symbols you want to use for that series (TitleCS). (Note that the second argument for defineconversion should be a list, so [×] will not work, but [×,] will work. Color is shown for the second flag so that it stands out if you accidentally make a second TitleFn.) You can also reset the counter, as shown in the last couple of lines. \setuppapersize [A6] \defineconversion [TitleCS] [†,{\color[red]{‽}}] \definecounter [TitleFnCount] [way=bytext] \definenotation [TitleFn] [footnote] \setupnotation [footnote] [numberconversion=set 2, indenting={yes,small}] \setupnotation [TitleFn] [numberconversion=TitleCS, counter=TitleFnCount, indenting={yes,small}] \starttext This sentence has a title footnote.\TitleFn{Title} This sentence has a regular footnote.\footnote{Footnote} And this sentence has a regular footnote.\footnote{Footnote} This is a second sentence with a title footnote.\TitleFn{Title} \resetcounter[footnote] Reusing the first regular footnote counter.\footnote{Footnote} \stoptext -- Rik
Many thanks. The following meets my needs: \defineconversion [TitleCS] [†,{\color[red]{‽}}] \definecounter [TitleFnCount] [way=bypage] \definenotation [TitleFn] [footnote] \setupnotation [TitleFn] [numberconversion=TitleCS, counter=TitleFnCount, indenting={yes,small}] It was superfluous to do \setupnotation [footnote] [numberconversion=set 2, indenting={yes,small}] because this would have changed all the footnotes to the symbol set 2, whereas i require to keep them as numbered. David
participants (2)
-
David Roderick
-
Rik Kabel