ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: superior numbers for footnote numbers?
Date: Thu, 5 Feb 2015 13:14:11 +0100	[thread overview]
Message-ID: <0A541230-F1D6-4334-9312-AA9E52B318E9@gmail.com> (raw)
In-Reply-To: <54D35BAA.50302@googlemail.com>


> Am 05.02.2015 um 13:01 schrieb Jörg Weger <joerg73.muc@googlemail.com>:
> 
> 
> Better equipped opentype fonts offer so called superior numbers as an opentype feature. Those are special smaller figures for “superscript” (opentype feature “sups”) that are not simply scaled down versions of the normal figures (be they oldstyle or lining) you are normally using.
> 
> Scaling down is as far as I understood the default way context is using to generate the numbers for footnotes. Is there a way to define the use of unscaled superiors according to the fontsizes of body text and footnote text instead?
> 
> Greetings Jörg
> 
> PS: I am using for serif the “Linux Libertine O” family (installed as OTF and invoked by the included mkiv simplefont mechanism) which has the “sups” feature.

\definefontfamily [mainface][rm][Linux Libertine O]
\definefontfamily [mainface][mm][TeX Gyre Pagella Math]

\definefontfeature[f:sups][sups=yes]

\setupbodyfont[mainface]

\setupnote    [footnote][textcommand=,textstyle=\addff{f:sups}]
\setupnotation[footnote][numbercommand=,headstyle=\addff{f:sups}]

\starttext

\input knuth\footnote{Knuth sample text}

\input ward\footnote{Ward sample text}

\stoptext

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

  reply	other threads:[~2015-02-05 12:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03 15:45 context wiki and luatex.org offline Taco Hoekwater
2015-02-05 11:43 ` using context wiki offline? Jörg Weger
2015-02-05 12:01   ` superior numbers for footnote numbers? Jörg Weger
2015-02-05 12:14     ` Wolfgang Schuster [this message]
2015-02-05 13:10       ` Jörg Weger
2015-02-05 22:46         ` Hans Hagen
2015-02-06  1:25           ` Jörg Weger

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=0A541230-F1D6-4334-9312-AA9E52B318E9@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --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).