ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Procházka Lukáš" <LPr@pontex.cz>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: \os
Date: Sun, 03 Aug 2014 23:10:26 +0200	[thread overview]
Message-ID: <op.xj1brodd2ef5qg@lk-2008-nbk> (raw)
In-Reply-To: <52459496-C03F-4A44-AB43-80AA06704F2F@gmail.com>

Hello,

thanks, Wolfgang, it's clear now completely.

On Sun, 03 Aug 2014 20:48:11 +0200, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> When you *want* your document to use old style figures for the body font you have to enable the onum feature in the default feature set which can be done with
>
>     \definefontfeature[default][default][onum=yes]
>
> BEFORE you set the font with the \setupbodyfont command.

That was the point!

I'm getting now what I was trying to achieve...

Best regards,

Lukas


> To change the numbers for certain parts of your document you can use the \feature command, e.g.
>
>     \setupcaption[figure][style={\feature[+][f:lnum]}]
>
> enables lining figures for the caption of your figures.
>
>
> The \os command itself should only be used when you have a few numbers which should appear in a different layout from the global setup.
>
> 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:[~2014-08-03 21:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-01 16:39 \os Procházka Lukáš Ing. - Pontex s. r. o.
2014-08-01 16:51 ` \os Wolfgang Schuster
2014-08-02  8:51   ` \os Procházka Lukáš Ing. - Pontex s. r. o.
2014-08-02 17:07     ` \os Wolfgang Schuster
2014-08-02 20:36       ` \os Procházka Lukáš
2014-08-03 17:26         ` \os Joshua Krämer
2014-08-03 18:48         ` \os Wolfgang Schuster
2014-08-03 21:10           ` Procházka Lukáš [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=op.xj1brodd2ef5qg@lk-2008-nbk \
    --to=lpr@pontex.cz \
    --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).