ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: 1/2 symbol
Date: Wed, 4 Mar 2009 10:40:47 +0100	[thread overview]
Message-ID: <8A7C2D18-F694-479D-B7E6-248444B9501A@gmail.com> (raw)
In-Reply-To: <1BBBEBA0-6205-4394-B9B2-D2C51D7C6B84@uni-bonn.de>


Am 04.03.2009 um 10:32 schrieb Thomas A. Schmitz:

> On Mar 4, 2009, at 10:26 AM, Vyatcheslav Yatskovsky wrote:
>
>> Hello,
>>
>> Easy question: how to get 1/2 symbol without entering math mode  
>> (using Minion Pro font)?
>
> Have you tried \onehalf or ½ (in mkiv)?


What the combination to get ½ on a mac?

Another way is to use the 'frac' feature.

\definefontfeature[frac][default][script=latn,frac=yes]
\definefont[minion][name:minionproregular*default]

\def\utffrac{\groupedcommand{\setfontfeature{frac}}{}}

\starttext

\minion 1/2 \utffrac{1/2} 1/2 \utffrac{12345/6789} 12345/6789

\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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2009-03-04  9:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2.1236157030.12184.ntg-context@ntg.nl>
2009-03-04  9:26 ` Vyatcheslav Yatskovsky
2009-03-04  9:32   ` Thomas A. Schmitz
2009-03-04  9:40     ` Wolfgang Schuster [this message]
2009-03-04  9:56       ` Thomas A. Schmitz
2009-03-04 10:40         ` Alan BRASLAU
2009-03-04 10:45         ` Hans Hagen
2009-03-04 10:57           ` Wolfgang Schuster

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=8A7C2D18-F694-479D-B7E6-248444B9501A@gmail.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).