ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Footnotes: Individual number styles
@ 2011-04-05 23:58 C.
  2011-04-06  0:43 ` Philipp Gesang
  0 siblings, 1 reply; 3+ messages in thread
From: C. @ 2011-04-05 23:58 UTC (permalink / raw)
  To: Context-Mailinglist

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?

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Footnotes: Individual number styles
  2011-04-05 23:58 Footnotes: Individual number styles C.
@ 2011-04-06  0:43 ` Philipp Gesang
  2011-04-06 13:00   ` Christian
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Gesang @ 2011-04-06  0:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1583 bytes --]

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Footnotes: Individual number styles
  2011-04-06  0:43 ` Philipp Gesang
@ 2011-04-06 13:00   ` Christian
  0 siblings, 0 replies; 3+ messages in thread
From: Christian @ 2011-04-06 13:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
>> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-06 13:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-05 23:58 Footnotes: Individual number styles C.
2011-04-06  0:43 ` Philipp Gesang
2011-04-06 13:00   ` Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).