From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: how to change footnote body number
Date: Thu, 21 Jun 2012 22:46:43 +0200 [thread overview]
Message-ID: <4263B226-036B-47D4-A5CF-E389707BCA5B@googlemail.com> (raw)
In-Reply-To: <4FE36F3E.3030300@web.de>
Am 21.06.2012 um 21:00 schrieb Pablo Rodríguez:
> Hi there,
>
> I'm trying to change the format of the footnote numbers in the body (not
> in the lower area for footnotes) and I don't know how to do this.
>
> Here you have a sample:
>
> \definefontfeature[oldnumb][onum=yes]
> \setupnotation[footnote][numberstyle=\tf,numbercommand=\addfs{oldnumb}]
> \starttext
> Note\footnote{Not here, but above.}
> \stoptext
>
> Just in case you wonder, the OT feature is actually sups=yes, but that
> feature only works with Sorts Mill Goudy
> (http://www.theleagueofmoveabletype.com/sorts-mill-goudy).
>
> How is the proper way to do this?
For oldstyle numerals you can use the “oldstyle” feature:
\setupnote[footnote][textstyle=\setff{oldstyle}]
\starttext
Note\footnote{Not here, but above.}
\stoptext
To use the superscript feature you have define first a fontfeature with “sups=yes” which can now be applied to textstyle, it’s also important to disable the \high command which is used to raise the footnote number.
\setupbodyfont[calluna] % replace this with your own font which has the “sups” feature
\definefontfeature[sups][sups=yes]
\setupnote[footnote][textstyle=\setff{sups},textcommand=]
\starttext
Note\footnote{Not here, but above.}
\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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-06-21 20:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-21 19:00 Pablo Rodríguez
2012-06-21 20:25 ` Marco
2012-06-21 20:46 ` Wolfgang Schuster [this message]
2012-06-22 15:09 ` Pablo Rodríguez
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=4263B226-036B-47D4-A5CF-E389707BCA5B@googlemail.com \
--to=schuster.wolfgang@googlemail.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).