Footnotes: Individual number styles
Sorry to bother again, but how do I change the style of the footnote number that is IN THE TEXT. Not the ones under the line, I can manipulate those with numbercommand. Let's just say I want a normal serif body text, but the footnote numbers are sans serif (or red, if you will) To clarify: This is the main² text. The little two after main wants to be painted red. Here comes more text... __________ ² This two down here does not want to be red. Is this possible?
Hi C, On 2011-04-06 <01:58:33>, C. wrote:
Sorry to bother again, but how do I change the style of the footnote number that is IN THE TEXT. Not the ones under the line, I can manipulate those with numbercommand.
Let's just say I want a normal serif body text, but the footnote numbers are sans serif (or red, if you will) To clarify:
This is the main² text. The little two after main wants to be painted red. Here comes more text... __________ ² This two down here does not want to be red.
Is this possible?
at least I can try: ··8<····························································· \setupfootnotes[ textcommand=\low, textstyle=\bi, textcolor=red, ] \starttext What is the air speed velocity of an unladen\footnote{African or European.} swallow? \stoptext \endinput ··8<····························································· Good night, Philipp
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Hi, that was helpful. I managed to get what I wanted. Maybe this is Wiki-Material: If the opentype font you are using contains special glyphs for superscript ('sups' feature) you might consider using them for footnotes. The open source font Linux Libertine has it, for example. Advantage: The default footnote numbers are normal numbers that are downscaled and raised and therefore are more pale (or thinner, if you prefer) than the body text. To use it: % define the sups feature: \definefontfeature[sups][sups=yes] \def\sups{\setff{sups}} % use it for footnotes: \setupnote[footnote][textcommand=, textstyle=\sups] Cheers Christian Am 20:59, schrieb Philipp Gesang:
Hi C,
On 2011-04-06<01:58:33>, C. wrote:
Sorry to bother again, but how do I change the style of the footnote number that is IN THE TEXT. Not the ones under the line, I can manipulate those with numbercommand.
Let's just say I want a normal serif body text, but the footnote numbers are sans serif (or red, if you will) To clarify:
This is the main² text. The little two after main wants to be painted red. Here comes more text... __________ ² This two down here does not want to be red.
Is this possible?
at least I can try:
··8<·····························································
\setupfootnotes[ textcommand=\low, textstyle=\bi, textcolor=red, ] \starttext
What is the air speed velocity of an unladen\footnote{African or European.} swallow?
\stoptext \endinput
··8<·····························································
Good night, Philipp
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
C.
-
Christian
-
Philipp Gesang