Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Hans Åberg
> On 6 Dec 2018, at 15:23, Wolfgang Schuster > wrote: > > The force key is valid for the \definefallbackfamily command, e.g. > > \definefallbackfamily [...] [...] [range={...},force=yes] I tried to test it with the code below, but then it selects the stixtwomath glyphs. So possibly the

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Wolfgang Schuster
Hans Åberg schrieb am 06.12.18 um 15:18: On 2 Dec 2018, at 19:01, Hans Hagen wrote: This super/supscript stuff is a bit more tricky because when a superscript 2 is in the font, and a superscript 3 isn't, using a fake ^3 alongside that ^2 quite certainly will look bad because the 2 is

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-06 Thread Hans Åberg
> On 2 Dec 2018, at 19:01, Hans Hagen wrote: > > This super/supscript stuff is a bit more tricky because when a superscript 2 > is in the font, and a superscript 3 isn't, using a fake ^3 alongside that ^2 > quite certainly will look bad because the 2 is normally of a different design > that

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 19:01, Hans Hagen wrote: > > On 12/2/2018 6:33 PM, Hans Åberg wrote: >> Maybe as a part of general features: A font fallback that selects the >> character from a sequence of fonts if not available, which could involve >> ranges, too, but not necessarily. And being able to

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Hagen
On 12/2/2018 6:33 PM, Hans Åberg wrote: On 2 Dec 2018, at 16:55, Hans Hagen wrote: On 12/2/2018 3:44 PM, Hans Åberg wrote: On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: STIX fonts don’t contain super and subscript numbers. They are in STIX Two, so I can get them using:

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 16:55, Hans Hagen wrote: > > On 12/2/2018 3:44 PM, Hans Åberg wrote: >>> On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: >>> >>> STIX fonts don’t contain super and subscript numbers. >> They are in STIX Two, so I can get them using: >>

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Hagen
On 12/2/2018 3:44 PM, Hans Åberg wrote: On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: STIX fonts don’t contain super and subscript numbers. They are in STIX Two, so I can get them using: \definefontfamily[stix-two][mono][Stix Two Text] \definefontfamily[stix-two][math][Stix Two

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
> On 2 Dec 2018, at 10:19, Henning Hraban Ramm wrote: > > STIX fonts don’t contain super and subscript numbers. They are in STIX Two, so I can get them using: \definefontfamily[stix-two][mono][Stix Two Text] \definefontfamily[stix-two][math][Stix Two Math] \setupbodyfont[stix-two,10pt]

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Henning Hraban Ramm
STIX fonts don’t contain super and subscript numbers. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD Am 2018-12-01 um 23:30 schrieb Hans Åberg : > Only some of the Unicode subscript and superscript numbers and signs

[NTG-context] Typing Unicode subscript and superscript numbers

2018-12-01 Thread Hans Åberg
Only some of the Unicode subscript and superscript numbers and signs show up in the example below in the typing and text environments, though all correct in the formula environment. — \setupbodyfont[stix,10pt] \starttext \startformula \startalign \NC 푨₀ 0 ₁ 1 ₂ 2 ₃ 3 ₄ 4 ₅ 5 ₆ 6 ₇

Re: [NTG-context] Typing unicode

2009-02-22 Thread zs
Hi, try this: \getglyph{name:TeXGyreHeros-Regular}{\char2013} % your font should have the glyph! If you are in linux and your editor is UTF8 capable, try pressing keys shift+ctrl+u and then type 2013. This should work when using luatex. ZS On Thu, 19 Feb 2009 21:48:50 -0300

Re: [NTG-context] Typing unicode

2009-02-20 Thread Longmin Wang
You may try \uchar{20}{19}. On Thu, Feb 19, 2009 at 09:48:50PM -0300, Maur憝cio wrote: Hi, This is probably a really basic question already asked many times, but I wasn't able to find an answer. How to type an unicode character using its number? Searching for messages, I found things

Re: [NTG-context] Typing unicode

2009-02-20 Thread Hans Hagen
Maurí­cio wrote: Hi, This is probably a really basic question already asked many times, but I wasn't able to find an answer. How to type an unicode character using its number? Searching for messages, I found things like: \char2019 that one is pretty safe in mkiv make sure to end witha

[NTG-context] Typing unicode

2009-02-19 Thread Maurí­cio
Hi, This is probably a really basic question already asked many times, but I wasn't able to find an answer. How to type an unicode character using its number? Searching for messages, I found things like: 2019 \char2019 \char{2019} \utfchar{2019} but I wasn't able to get any of them to work.