ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart.guthoehrlein@uni-bielefeld.de>
Subject: Re: oldstyle figures
Date: Tue, 19 Apr 2005 09:56:57 +0200	[thread overview]
Message-ID: <20050419075657.GA9109@cebitec.uni-bielefeld.de> (raw)
In-Reply-To: <426D5810@webmail.colostate.edu>

On Mon, 18 Apr 2005 at 16:30:04-0600, Idris Samawi Hamid wrote:
> >So, how to tell \digits to use oldstyle
> >figures, and/or how to make them the math mode default?
> 
> Since it switches to math mode, one has to reencode the math fonts, i guess.
> In the meantime:
> 
>  \def\OSdigits#1{\digits{\os#1}}
> 
>  \OSdigits{1234}

Unfortunately not. It works in text mode, but produces a bunch of errors
in math mode. \digits doesn't seem to like \os in its argument. This
definition works here for now:

\def\OSdigits#1{\ifmmode{\os\digits{#1}}\else\digits{\os#1}\fi}

> should do everything you need: since u're not mixing text in \digits do you
> really need a global math font reencoding?

In principle yes. For example, $f(x)=3x+7$ should come out with oldstyle
figures, if these are used by default, shouldn't it?
Btw, striving for good typography, in which cases should oldstyle
figures *not* be used?

Best regards,
-- 
Eckhart

       reply	other threads:[~2005-04-19  7:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <426D5810@webmail.colostate.edu>
2005-04-19  7:56 ` Eckhart Guthöhrlein [this message]
2005-04-19 15:02 Idris Samawi Hamid
  -- strict thread matches above, loose matches on Subject: below --
2005-04-13 13:23 Eckhart Guthöhrlein
2005-04-13 16:49 ` Idris Samawi Hamid
2005-04-18 13:04   ` Eckhart Guthöhrlein
2005-04-18 20:59   ` Ciro Soto

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=20050419075657.GA9109@cebitec.uni-bielefeld.de \
    --to=eckhart.guthoehrlein@uni-bielefeld.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).