STIX 2.0 font declaration











up vote
8
down vote

favorite












Today the STIX v2.0 was released. What is the proper font declaration to make use of various optical sizes etc with unicode-math?










share|improve this question


















  • 2




    What's the basis for your view that Stix Two provides optically sized font variants (subfamilies)?
    – Mico
    Dec 1 '16 at 17:39








  • 1




    @Mico Was hoping for the best.:-( May I ask then, which math fonts do contain the optical sizes, apart from Minion Math?
    – Sapere aude
    Dec 1 '16 at 17:45








  • 3




    For one, Latin Modern Math, a direct descendant of Computer Modern. :-)
    – Mico
    Dec 1 '16 at 17:51










  • @Mico How do you tell that? otfinfo doesn't seem to recognise it.
    – cfr
    Dec 2 '16 at 2:25






  • 1




    @cfr -- Give scalebox{2}{$scriptscriptstyle aaazzz$} $aaazzz$ and scalebox{2}{tiny Hello} Hello a try. (Requires graphicx for scalebox macro.)
    – Mico
    Dec 2 '16 at 5:47

















up vote
8
down vote

favorite












Today the STIX v2.0 was released. What is the proper font declaration to make use of various optical sizes etc with unicode-math?










share|improve this question


















  • 2




    What's the basis for your view that Stix Two provides optically sized font variants (subfamilies)?
    – Mico
    Dec 1 '16 at 17:39








  • 1




    @Mico Was hoping for the best.:-( May I ask then, which math fonts do contain the optical sizes, apart from Minion Math?
    – Sapere aude
    Dec 1 '16 at 17:45








  • 3




    For one, Latin Modern Math, a direct descendant of Computer Modern. :-)
    – Mico
    Dec 1 '16 at 17:51










  • @Mico How do you tell that? otfinfo doesn't seem to recognise it.
    – cfr
    Dec 2 '16 at 2:25






  • 1




    @cfr -- Give scalebox{2}{$scriptscriptstyle aaazzz$} $aaazzz$ and scalebox{2}{tiny Hello} Hello a try. (Requires graphicx for scalebox macro.)
    – Mico
    Dec 2 '16 at 5:47















up vote
8
down vote

favorite









up vote
8
down vote

favorite











Today the STIX v2.0 was released. What is the proper font declaration to make use of various optical sizes etc with unicode-math?










share|improve this question













Today the STIX v2.0 was released. What is the proper font declaration to make use of various optical sizes etc with unicode-math?







xetex luatex unicode-math stix






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 1 '16 at 17:29









Sapere aude

926




926








  • 2




    What's the basis for your view that Stix Two provides optically sized font variants (subfamilies)?
    – Mico
    Dec 1 '16 at 17:39








  • 1




    @Mico Was hoping for the best.:-( May I ask then, which math fonts do contain the optical sizes, apart from Minion Math?
    – Sapere aude
    Dec 1 '16 at 17:45








  • 3




    For one, Latin Modern Math, a direct descendant of Computer Modern. :-)
    – Mico
    Dec 1 '16 at 17:51










  • @Mico How do you tell that? otfinfo doesn't seem to recognise it.
    – cfr
    Dec 2 '16 at 2:25






  • 1




    @cfr -- Give scalebox{2}{$scriptscriptstyle aaazzz$} $aaazzz$ and scalebox{2}{tiny Hello} Hello a try. (Requires graphicx for scalebox macro.)
    – Mico
    Dec 2 '16 at 5:47
















  • 2




    What's the basis for your view that Stix Two provides optically sized font variants (subfamilies)?
    – Mico
    Dec 1 '16 at 17:39








  • 1




    @Mico Was hoping for the best.:-( May I ask then, which math fonts do contain the optical sizes, apart from Minion Math?
    – Sapere aude
    Dec 1 '16 at 17:45








  • 3




    For one, Latin Modern Math, a direct descendant of Computer Modern. :-)
    – Mico
    Dec 1 '16 at 17:51










  • @Mico How do you tell that? otfinfo doesn't seem to recognise it.
    – cfr
    Dec 2 '16 at 2:25






  • 1




    @cfr -- Give scalebox{2}{$scriptscriptstyle aaazzz$} $aaazzz$ and scalebox{2}{tiny Hello} Hello a try. (Requires graphicx for scalebox macro.)
    – Mico
    Dec 2 '16 at 5:47










2




2




What's the basis for your view that Stix Two provides optically sized font variants (subfamilies)?
– Mico
Dec 1 '16 at 17:39






What's the basis for your view that Stix Two provides optically sized font variants (subfamilies)?
– Mico
Dec 1 '16 at 17:39






1




1




@Mico Was hoping for the best.:-( May I ask then, which math fonts do contain the optical sizes, apart from Minion Math?
– Sapere aude
Dec 1 '16 at 17:45






@Mico Was hoping for the best.:-( May I ask then, which math fonts do contain the optical sizes, apart from Minion Math?
– Sapere aude
Dec 1 '16 at 17:45






3




3




For one, Latin Modern Math, a direct descendant of Computer Modern. :-)
– Mico
Dec 1 '16 at 17:51




For one, Latin Modern Math, a direct descendant of Computer Modern. :-)
– Mico
Dec 1 '16 at 17:51












@Mico How do you tell that? otfinfo doesn't seem to recognise it.
– cfr
Dec 2 '16 at 2:25




@Mico How do you tell that? otfinfo doesn't seem to recognise it.
– cfr
Dec 2 '16 at 2:25




1




1




@cfr -- Give scalebox{2}{$scriptscriptstyle aaazzz$} $aaazzz$ and scalebox{2}{tiny Hello} Hello a try. (Requires graphicx for scalebox macro.)
– Mico
Dec 2 '16 at 5:47






@cfr -- Give scalebox{2}{$scriptscriptstyle aaazzz$} $aaazzz$ and scalebox{2}{tiny Hello} Hello a try. (Requires graphicx for scalebox macro.)
– Mico
Dec 2 '16 at 5:47












2 Answers
2






active

oldest

votes

















up vote
4
down vote



accepted










You don’t need to do any thing to get the optical sizes included in the math font. They are associated with the ssty feature which unicode-math will enable it for script and scriptscript font sizes.






share|improve this answer





















  • Is version 2.0.0 of STIX Math maybe still a bit buggy? scalebox{2}{$scriptscriptstyle aaazzz$} and $aaazzz$ differ wildly in size, though (after further rescaling) not so much in the glyph shapes.
    – Mico
    Dec 2 '16 at 6:41












  • @Mico: All known issues with STIX fonts should be fixed in this version. The optical sizes do have weight and size differences, it might be subtler than in Computer Modern but that is not necessarily a bad thing.
    – Khaled Hosny
    Dec 2 '16 at 19:31


















up vote
7
down vote













[For your convenience: You can download STIX v2.0.0 from GitHub]



You don’t have to change anything because the release does not include optical sizes. The new ssty feature which offers special sub- and superscript glyphs is selected automatically by unicode-math. See the release notes:






WHAT IS NEW IN THIS RELEASE?

In addition to the overall visual redesign, STIX Two incorporates a
number of significant improvements and additions. Special attention
has been given to implementing accepted best practices for OpenType
fonts, such as the use of font features to access variant glyph shapes
that were previously only available via the Unicode Private Use Areas.

The letterspacing and kerning of the text fonts have been
significantly improved.

True small capital variants (Latin, Cyrillic, and Greek), accessible
via the OpenType font feature smcp, have been added for all text
fonts.

Text (lowercase or oldstyle) numerals, available via the font features
pnum and onum, have been added, in addition to natural-spacing
figures.

Alphabetic superscripts and numeric sub- and superscripts, accessible
via the subs and sups font features, have been added.

Fractions are available via the frac feature, as well as numerators
(numr) and denominators (dnom).

The OpenType MATH table has been completely rewritten and extended.

Additions have been made to these Unicode blocks:
Latin-1 Supplement U+0080 - U+00FF
Latin Extended-A U+0100 - U+017F
Latin Extended Additional U+0180 - U+024F
Cyrillic U+0400 - U+04FF
Greek and Coptic U+0370 - U+03FF
IPA blocks U+0250 - U+02AF

Full details of included glyphs and supported font features are
available in the included spreadsheet.





Addendum: As pointed out by Khaled and misinterpreted by me, there are some optical sizes available in STIX2 which were not present in STIX1, namely for sub- and superscripts in math mode. I misinterpreted this because for me optical sizes means the Adobe definition of optical size. In addition to Khaled’s answer here is a snippet showing the difference for sub- and superscripts in math mode while showing that there is no difference in text mode.



documentclass{article}
usepackage{unicode-math}
setmainfont{STIX2Text-Regular.otf}
setmathfont{STIX2Math.otf}
begin{document}

setbox0=hbox{$abc$}
resizebox{!}{ht0}{copy0}

resizebox{!}{ht0}{$scriptstyle abc$}

resizebox{!}{ht0}{$scriptscriptstyle abc$}

setbox0=hbox{abc}
resizebox{!}{ht0}{copy0}

resizebox{!}{ht0}{scriptsize abc}

resizebox{!}{ht0}{tiny abc}

end{document}


enter image description here






share|improve this answer



















  • 1




    What part of the text you are quoting says it does not include optical sizes?
    – Khaled Hosny
    Dec 2 '16 at 1:26






  • 1




    @KhaledHosny Sorry about that, I clarified my answer. I was (and still am) thinking of optical sizes the Adobe way. For me ssty is only a font feature and not like the true subfamilies which are available for math and text in, e.g., Computer Modern.
    – Henri Menke
    Dec 2 '16 at 11:06






  • 2




    For OpenType math fonts, the canonical way to handle optical sizes is through the the ssty feature. For text fonts you indeed need separate font files, and it is true that STIX does not provide optical sizes for the text fonts.
    – Khaled Hosny
    Dec 2 '16 at 19:30











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f341894%2fstix-2-0-font-declaration%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
4
down vote



accepted










You don’t need to do any thing to get the optical sizes included in the math font. They are associated with the ssty feature which unicode-math will enable it for script and scriptscript font sizes.






share|improve this answer





















  • Is version 2.0.0 of STIX Math maybe still a bit buggy? scalebox{2}{$scriptscriptstyle aaazzz$} and $aaazzz$ differ wildly in size, though (after further rescaling) not so much in the glyph shapes.
    – Mico
    Dec 2 '16 at 6:41












  • @Mico: All known issues with STIX fonts should be fixed in this version. The optical sizes do have weight and size differences, it might be subtler than in Computer Modern but that is not necessarily a bad thing.
    – Khaled Hosny
    Dec 2 '16 at 19:31















up vote
4
down vote



accepted










You don’t need to do any thing to get the optical sizes included in the math font. They are associated with the ssty feature which unicode-math will enable it for script and scriptscript font sizes.






share|improve this answer





















  • Is version 2.0.0 of STIX Math maybe still a bit buggy? scalebox{2}{$scriptscriptstyle aaazzz$} and $aaazzz$ differ wildly in size, though (after further rescaling) not so much in the glyph shapes.
    – Mico
    Dec 2 '16 at 6:41












  • @Mico: All known issues with STIX fonts should be fixed in this version. The optical sizes do have weight and size differences, it might be subtler than in Computer Modern but that is not necessarily a bad thing.
    – Khaled Hosny
    Dec 2 '16 at 19:31













up vote
4
down vote



accepted







up vote
4
down vote



accepted






You don’t need to do any thing to get the optical sizes included in the math font. They are associated with the ssty feature which unicode-math will enable it for script and scriptscript font sizes.






share|improve this answer












You don’t need to do any thing to get the optical sizes included in the math font. They are associated with the ssty feature which unicode-math will enable it for script and scriptscript font sizes.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 2 '16 at 1:27









Khaled Hosny

21.4k172108




21.4k172108












  • Is version 2.0.0 of STIX Math maybe still a bit buggy? scalebox{2}{$scriptscriptstyle aaazzz$} and $aaazzz$ differ wildly in size, though (after further rescaling) not so much in the glyph shapes.
    – Mico
    Dec 2 '16 at 6:41












  • @Mico: All known issues with STIX fonts should be fixed in this version. The optical sizes do have weight and size differences, it might be subtler than in Computer Modern but that is not necessarily a bad thing.
    – Khaled Hosny
    Dec 2 '16 at 19:31


















  • Is version 2.0.0 of STIX Math maybe still a bit buggy? scalebox{2}{$scriptscriptstyle aaazzz$} and $aaazzz$ differ wildly in size, though (after further rescaling) not so much in the glyph shapes.
    – Mico
    Dec 2 '16 at 6:41












  • @Mico: All known issues with STIX fonts should be fixed in this version. The optical sizes do have weight and size differences, it might be subtler than in Computer Modern but that is not necessarily a bad thing.
    – Khaled Hosny
    Dec 2 '16 at 19:31
















Is version 2.0.0 of STIX Math maybe still a bit buggy? scalebox{2}{$scriptscriptstyle aaazzz$} and $aaazzz$ differ wildly in size, though (after further rescaling) not so much in the glyph shapes.
– Mico
Dec 2 '16 at 6:41






Is version 2.0.0 of STIX Math maybe still a bit buggy? scalebox{2}{$scriptscriptstyle aaazzz$} and $aaazzz$ differ wildly in size, though (after further rescaling) not so much in the glyph shapes.
– Mico
Dec 2 '16 at 6:41














@Mico: All known issues with STIX fonts should be fixed in this version. The optical sizes do have weight and size differences, it might be subtler than in Computer Modern but that is not necessarily a bad thing.
– Khaled Hosny
Dec 2 '16 at 19:31




@Mico: All known issues with STIX fonts should be fixed in this version. The optical sizes do have weight and size differences, it might be subtler than in Computer Modern but that is not necessarily a bad thing.
– Khaled Hosny
Dec 2 '16 at 19:31










up vote
7
down vote













[For your convenience: You can download STIX v2.0.0 from GitHub]



You don’t have to change anything because the release does not include optical sizes. The new ssty feature which offers special sub- and superscript glyphs is selected automatically by unicode-math. See the release notes:






WHAT IS NEW IN THIS RELEASE?

In addition to the overall visual redesign, STIX Two incorporates a
number of significant improvements and additions. Special attention
has been given to implementing accepted best practices for OpenType
fonts, such as the use of font features to access variant glyph shapes
that were previously only available via the Unicode Private Use Areas.

The letterspacing and kerning of the text fonts have been
significantly improved.

True small capital variants (Latin, Cyrillic, and Greek), accessible
via the OpenType font feature smcp, have been added for all text
fonts.

Text (lowercase or oldstyle) numerals, available via the font features
pnum and onum, have been added, in addition to natural-spacing
figures.

Alphabetic superscripts and numeric sub- and superscripts, accessible
via the subs and sups font features, have been added.

Fractions are available via the frac feature, as well as numerators
(numr) and denominators (dnom).

The OpenType MATH table has been completely rewritten and extended.

Additions have been made to these Unicode blocks:
Latin-1 Supplement U+0080 - U+00FF
Latin Extended-A U+0100 - U+017F
Latin Extended Additional U+0180 - U+024F
Cyrillic U+0400 - U+04FF
Greek and Coptic U+0370 - U+03FF
IPA blocks U+0250 - U+02AF

Full details of included glyphs and supported font features are
available in the included spreadsheet.





Addendum: As pointed out by Khaled and misinterpreted by me, there are some optical sizes available in STIX2 which were not present in STIX1, namely for sub- and superscripts in math mode. I misinterpreted this because for me optical sizes means the Adobe definition of optical size. In addition to Khaled’s answer here is a snippet showing the difference for sub- and superscripts in math mode while showing that there is no difference in text mode.



documentclass{article}
usepackage{unicode-math}
setmainfont{STIX2Text-Regular.otf}
setmathfont{STIX2Math.otf}
begin{document}

setbox0=hbox{$abc$}
resizebox{!}{ht0}{copy0}

resizebox{!}{ht0}{$scriptstyle abc$}

resizebox{!}{ht0}{$scriptscriptstyle abc$}

setbox0=hbox{abc}
resizebox{!}{ht0}{copy0}

resizebox{!}{ht0}{scriptsize abc}

resizebox{!}{ht0}{tiny abc}

end{document}


enter image description here






share|improve this answer



















  • 1




    What part of the text you are quoting says it does not include optical sizes?
    – Khaled Hosny
    Dec 2 '16 at 1:26






  • 1




    @KhaledHosny Sorry about that, I clarified my answer. I was (and still am) thinking of optical sizes the Adobe way. For me ssty is only a font feature and not like the true subfamilies which are available for math and text in, e.g., Computer Modern.
    – Henri Menke
    Dec 2 '16 at 11:06






  • 2




    For OpenType math fonts, the canonical way to handle optical sizes is through the the ssty feature. For text fonts you indeed need separate font files, and it is true that STIX does not provide optical sizes for the text fonts.
    – Khaled Hosny
    Dec 2 '16 at 19:30















up vote
7
down vote













[For your convenience: You can download STIX v2.0.0 from GitHub]



You don’t have to change anything because the release does not include optical sizes. The new ssty feature which offers special sub- and superscript glyphs is selected automatically by unicode-math. See the release notes:






WHAT IS NEW IN THIS RELEASE?

In addition to the overall visual redesign, STIX Two incorporates a
number of significant improvements and additions. Special attention
has been given to implementing accepted best practices for OpenType
fonts, such as the use of font features to access variant glyph shapes
that were previously only available via the Unicode Private Use Areas.

The letterspacing and kerning of the text fonts have been
significantly improved.

True small capital variants (Latin, Cyrillic, and Greek), accessible
via the OpenType font feature smcp, have been added for all text
fonts.

Text (lowercase or oldstyle) numerals, available via the font features
pnum and onum, have been added, in addition to natural-spacing
figures.

Alphabetic superscripts and numeric sub- and superscripts, accessible
via the subs and sups font features, have been added.

Fractions are available via the frac feature, as well as numerators
(numr) and denominators (dnom).

The OpenType MATH table has been completely rewritten and extended.

Additions have been made to these Unicode blocks:
Latin-1 Supplement U+0080 - U+00FF
Latin Extended-A U+0100 - U+017F
Latin Extended Additional U+0180 - U+024F
Cyrillic U+0400 - U+04FF
Greek and Coptic U+0370 - U+03FF
IPA blocks U+0250 - U+02AF

Full details of included glyphs and supported font features are
available in the included spreadsheet.





Addendum: As pointed out by Khaled and misinterpreted by me, there are some optical sizes available in STIX2 which were not present in STIX1, namely for sub- and superscripts in math mode. I misinterpreted this because for me optical sizes means the Adobe definition of optical size. In addition to Khaled’s answer here is a snippet showing the difference for sub- and superscripts in math mode while showing that there is no difference in text mode.



documentclass{article}
usepackage{unicode-math}
setmainfont{STIX2Text-Regular.otf}
setmathfont{STIX2Math.otf}
begin{document}

setbox0=hbox{$abc$}
resizebox{!}{ht0}{copy0}

resizebox{!}{ht0}{$scriptstyle abc$}

resizebox{!}{ht0}{$scriptscriptstyle abc$}

setbox0=hbox{abc}
resizebox{!}{ht0}{copy0}

resizebox{!}{ht0}{scriptsize abc}

resizebox{!}{ht0}{tiny abc}

end{document}


enter image description here






share|improve this answer



















  • 1




    What part of the text you are quoting says it does not include optical sizes?
    – Khaled Hosny
    Dec 2 '16 at 1:26






  • 1




    @KhaledHosny Sorry about that, I clarified my answer. I was (and still am) thinking of optical sizes the Adobe way. For me ssty is only a font feature and not like the true subfamilies which are available for math and text in, e.g., Computer Modern.
    – Henri Menke
    Dec 2 '16 at 11:06






  • 2




    For OpenType math fonts, the canonical way to handle optical sizes is through the the ssty feature. For text fonts you indeed need separate font files, and it is true that STIX does not provide optical sizes for the text fonts.
    – Khaled Hosny
    Dec 2 '16 at 19:30













up vote
7
down vote










up vote
7
down vote









[For your convenience: You can download STIX v2.0.0 from GitHub]



You don’t have to change anything because the release does not include optical sizes. The new ssty feature which offers special sub- and superscript glyphs is selected automatically by unicode-math. See the release notes:






WHAT IS NEW IN THIS RELEASE?

In addition to the overall visual redesign, STIX Two incorporates a
number of significant improvements and additions. Special attention
has been given to implementing accepted best practices for OpenType
fonts, such as the use of font features to access variant glyph shapes
that were previously only available via the Unicode Private Use Areas.

The letterspacing and kerning of the text fonts have been
significantly improved.

True small capital variants (Latin, Cyrillic, and Greek), accessible
via the OpenType font feature smcp, have been added for all text
fonts.

Text (lowercase or oldstyle) numerals, available via the font features
pnum and onum, have been added, in addition to natural-spacing
figures.

Alphabetic superscripts and numeric sub- and superscripts, accessible
via the subs and sups font features, have been added.

Fractions are available via the frac feature, as well as numerators
(numr) and denominators (dnom).

The OpenType MATH table has been completely rewritten and extended.

Additions have been made to these Unicode blocks:
Latin-1 Supplement U+0080 - U+00FF
Latin Extended-A U+0100 - U+017F
Latin Extended Additional U+0180 - U+024F
Cyrillic U+0400 - U+04FF
Greek and Coptic U+0370 - U+03FF
IPA blocks U+0250 - U+02AF

Full details of included glyphs and supported font features are
available in the included spreadsheet.





Addendum: As pointed out by Khaled and misinterpreted by me, there are some optical sizes available in STIX2 which were not present in STIX1, namely for sub- and superscripts in math mode. I misinterpreted this because for me optical sizes means the Adobe definition of optical size. In addition to Khaled’s answer here is a snippet showing the difference for sub- and superscripts in math mode while showing that there is no difference in text mode.



documentclass{article}
usepackage{unicode-math}
setmainfont{STIX2Text-Regular.otf}
setmathfont{STIX2Math.otf}
begin{document}

setbox0=hbox{$abc$}
resizebox{!}{ht0}{copy0}

resizebox{!}{ht0}{$scriptstyle abc$}

resizebox{!}{ht0}{$scriptscriptstyle abc$}

setbox0=hbox{abc}
resizebox{!}{ht0}{copy0}

resizebox{!}{ht0}{scriptsize abc}

resizebox{!}{ht0}{tiny abc}

end{document}


enter image description here






share|improve this answer














[For your convenience: You can download STIX v2.0.0 from GitHub]



You don’t have to change anything because the release does not include optical sizes. The new ssty feature which offers special sub- and superscript glyphs is selected automatically by unicode-math. See the release notes:






WHAT IS NEW IN THIS RELEASE?

In addition to the overall visual redesign, STIX Two incorporates a
number of significant improvements and additions. Special attention
has been given to implementing accepted best practices for OpenType
fonts, such as the use of font features to access variant glyph shapes
that were previously only available via the Unicode Private Use Areas.

The letterspacing and kerning of the text fonts have been
significantly improved.

True small capital variants (Latin, Cyrillic, and Greek), accessible
via the OpenType font feature smcp, have been added for all text
fonts.

Text (lowercase or oldstyle) numerals, available via the font features
pnum and onum, have been added, in addition to natural-spacing
figures.

Alphabetic superscripts and numeric sub- and superscripts, accessible
via the subs and sups font features, have been added.

Fractions are available via the frac feature, as well as numerators
(numr) and denominators (dnom).

The OpenType MATH table has been completely rewritten and extended.

Additions have been made to these Unicode blocks:
Latin-1 Supplement U+0080 - U+00FF
Latin Extended-A U+0100 - U+017F
Latin Extended Additional U+0180 - U+024F
Cyrillic U+0400 - U+04FF
Greek and Coptic U+0370 - U+03FF
IPA blocks U+0250 - U+02AF

Full details of included glyphs and supported font features are
available in the included spreadsheet.





Addendum: As pointed out by Khaled and misinterpreted by me, there are some optical sizes available in STIX2 which were not present in STIX1, namely for sub- and superscripts in math mode. I misinterpreted this because for me optical sizes means the Adobe definition of optical size. In addition to Khaled’s answer here is a snippet showing the difference for sub- and superscripts in math mode while showing that there is no difference in text mode.



documentclass{article}
usepackage{unicode-math}
setmainfont{STIX2Text-Regular.otf}
setmathfont{STIX2Math.otf}
begin{document}

setbox0=hbox{$abc$}
resizebox{!}{ht0}{copy0}

resizebox{!}{ht0}{$scriptstyle abc$}

resizebox{!}{ht0}{$scriptscriptstyle abc$}

setbox0=hbox{abc}
resizebox{!}{ht0}{copy0}

resizebox{!}{ht0}{scriptsize abc}

resizebox{!}{ht0}{tiny abc}

end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 3 at 19:55









andselisk

6662621




6662621










answered Dec 1 '16 at 17:36









Henri Menke

68.5k7153257




68.5k7153257








  • 1




    What part of the text you are quoting says it does not include optical sizes?
    – Khaled Hosny
    Dec 2 '16 at 1:26






  • 1




    @KhaledHosny Sorry about that, I clarified my answer. I was (and still am) thinking of optical sizes the Adobe way. For me ssty is only a font feature and not like the true subfamilies which are available for math and text in, e.g., Computer Modern.
    – Henri Menke
    Dec 2 '16 at 11:06






  • 2




    For OpenType math fonts, the canonical way to handle optical sizes is through the the ssty feature. For text fonts you indeed need separate font files, and it is true that STIX does not provide optical sizes for the text fonts.
    – Khaled Hosny
    Dec 2 '16 at 19:30














  • 1




    What part of the text you are quoting says it does not include optical sizes?
    – Khaled Hosny
    Dec 2 '16 at 1:26






  • 1




    @KhaledHosny Sorry about that, I clarified my answer. I was (and still am) thinking of optical sizes the Adobe way. For me ssty is only a font feature and not like the true subfamilies which are available for math and text in, e.g., Computer Modern.
    – Henri Menke
    Dec 2 '16 at 11:06






  • 2




    For OpenType math fonts, the canonical way to handle optical sizes is through the the ssty feature. For text fonts you indeed need separate font files, and it is true that STIX does not provide optical sizes for the text fonts.
    – Khaled Hosny
    Dec 2 '16 at 19:30








1




1




What part of the text you are quoting says it does not include optical sizes?
– Khaled Hosny
Dec 2 '16 at 1:26




What part of the text you are quoting says it does not include optical sizes?
– Khaled Hosny
Dec 2 '16 at 1:26




1




1




@KhaledHosny Sorry about that, I clarified my answer. I was (and still am) thinking of optical sizes the Adobe way. For me ssty is only a font feature and not like the true subfamilies which are available for math and text in, e.g., Computer Modern.
– Henri Menke
Dec 2 '16 at 11:06




@KhaledHosny Sorry about that, I clarified my answer. I was (and still am) thinking of optical sizes the Adobe way. For me ssty is only a font feature and not like the true subfamilies which are available for math and text in, e.g., Computer Modern.
– Henri Menke
Dec 2 '16 at 11:06




2




2




For OpenType math fonts, the canonical way to handle optical sizes is through the the ssty feature. For text fonts you indeed need separate font files, and it is true that STIX does not provide optical sizes for the text fonts.
– Khaled Hosny
Dec 2 '16 at 19:30




For OpenType math fonts, the canonical way to handle optical sizes is through the the ssty feature. For text fonts you indeed need separate font files, and it is true that STIX does not provide optical sizes for the text fonts.
– Khaled Hosny
Dec 2 '16 at 19:30


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f341894%2fstix-2-0-font-declaration%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents