From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: adding font feature tnum in the TOC
Date: Tue, 29 Mar 2016 20:52:02 +0200 [thread overview]
Message-ID: <56FACED2.1070304@gmail.com> (raw)
In-Reply-To: <1A16AF07-09F2-450E-8CEF-F989F3F16097@boede.nl>
[-- Attachment #1.1: Type: text/plain, Size: 843 bytes --]
> Willi Egger <mailto:context@boede.nl>
> 29. März 2016 um 20:38
> I underrstand this, however then I do not get tabular figures…
Do you want them for oldstyle figures or lining figures.
\definefontfeature [onum+pnum] [onum=yes,lnum=no,pnum=yes,tnum=no]
\definefontfeature [onum+tnum] [onum=yes,lnum=no,pnum=no,tnum=yes]
\definefontfeature [lnum+pnum] [onum=no,lnum=yes,pnum=yes,tnum=no]
\definefontfeature [lnum+tnum] [onum=no,lnum=yes,pnum=no,tnum=yes]
\setupbodyfont[pagella]
\starttext
\starttabulate[|f{\addfeature{onum+pnum}}r|f{\addfeature{onum+tnum}}r|f{\addfeature{lnum+pnum}}r|f{\addfeature{lnum+tnum}}r|]
\dorecurse{100}{\NC \vrule\threedigits{##1}\vrule \NC
\vrule\threedigits{##1}\vrule \NC \vrule\threedigits{##1}\vrule \NC
\vrule\threedigits{##1}\vrule \NC\NR}
\stoptabulate
\stoptext
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 1898 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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-03-29 18:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-29 13:11 Willi Egger
2016-03-29 15:33 ` Wolfgang Schuster
2016-03-29 15:48 ` Willi Egger
2016-03-29 18:29 ` Willi Egger
2016-03-29 18:36 ` Wolfgang Schuster
2016-03-29 18:38 ` Willi Egger
2016-03-29 18:52 ` Wolfgang Schuster [this message]
2016-03-30 6:26 ` Hans Hagen
2016-03-30 6:31 ` Willi Egger
2016-03-29 18:59 ` Willi Egger
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=56FACED2.1070304@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).