From: Christian <metan0r@gmx.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Footnotes: Individual number styles
Date: Wed, 06 Apr 2011 15:00:31 +0200 [thread overview]
Message-ID: <4D9C63EF.2040202@gmx.de> (raw)
In-Reply-To: <20110406004332.GA8382@aides>
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
___________________________________________________________________________________
prev parent reply other threads:[~2011-04-06 13:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-05 23:58 C.
2011-04-06 0:43 ` Philipp Gesang
2011-04-06 13:00 ` Christian [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D9C63EF.2040202@gmx.de \
--to=metan0r@gmx.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).