Has there been a change to \textfraction? Try 1\textfraction{1/2}. I get 1 /1/2 with ConTeXt ver: 2017.06.30 (and earlier on the wiki) Alan
Thanks, Henri.
The mwe seems to work without specifying the font, but that may just be a
deceptive triumph of bad form.
I have a number of fonts in my document in which I would like \textfraction
to work. Is there are global way to prepare them or must I do it one by one?
Alan
On Mon, Jul 10, 2017 at 8:09 PM, Henri Menke
On Wed, 2017-07-12 at 12:53 -0400, Alan Bowen wrote:
You cannot prepare the font for this by yourself (unless you are a font designer). The font needs to have the "frac" feature present. Your macro \textfraction{1/2} simply typesets 1/2 with the frac feature enabled. You can find out if your font has this feature using the tool otfinfo, e.g. $ otfinfo -f FiraSans-Regular.otf aalt Access All Alternates c2sc Small Capitals From Capitals calt Contextual Alternates case Case-Sensitive Forms ccmp Glyph Composition/Decomposition cpsp Capital Spacing dlig Discretionary Ligatures dnom Denominators frac Fractions kern Kerning liga Standard Ligatures lnum Lining Figures mark Mark Positioning mgrk Mathematical Greek mkmk Mark to Mark Positioning numr Numerators onum Oldstyle Figures ordn Ordinals pnum Proportional Figures salt Stylistic Alternates smcp Small Capitals ss01 Stylistic Set 1 ss02 Stylistic Set 2 ss03 Stylistic Set 3 ss04 Stylistic Set 4 subs Subscript sups Superscript tnum Tabular Figures zero Slashed Zero
participants (2)
-
Alan Bowen
-
Henri Menke