{"id":19,"date":"2021-02-13T20:22:07","date_gmt":"2021-02-13T20:22:07","guid":{"rendered":"https:\/\/eutypon.gr\/e-blog\/?p=19"},"modified":"2021-02-13T20:22:07","modified_gmt":"2021-02-13T20:22:07","slug":"smallcapsfeatures-in-xelatex","status":"publish","type":"post","link":"https:\/\/eutypon.gr\/e-blog\/index.php\/2021\/02\/13\/smallcapsfeatures-in-xelatex\/","title":{"rendered":"SmallCapsFeatures in XeLaTeX"},"content":{"rendered":"<p>On page 37 of my book on XeLaTeX I include the following example<\/p>\n<p><code>\u00a0\\newICUfeature{Contextuals}{Alts}{+calt}<\/code><br \/>\n<code>\u00a0\\setmainfont[Mapping=tex-text,Script=Greek,<\/code><br \/>\n<code>\u00a0SmallCapsFeatures={Contextuals=Alts}]{Universal Modern}<\/code><\/p>\n<p>This does not work anymore. One needs to modify this as follows:<\/p>\n<p><code>\u00a0\\setmainfont[Mapping=tex-text,Script=Greek,<\/code><br \/>\n<code>\u00a0\u00a0 UprightFeatures={Contextuals=NoAlternate},<\/code><br \/>\n<code>\u00a0\u00a0 SmallCapsFeatures={Contextuals=Alternate}]{Universal Modern}<\/code><\/p>\n<p>If one omits the UprightFeatures part, then the SmallCapsFeatures apply everywhere.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On page 37 of my book on XeLaTeX I include the following example \u00a0\\newICUfeature{Contextuals}{Alts}{+calt} \u00a0\\setmainfont[Mapping=tex-text,Script=Greek, \u00a0SmallCapsFeatures={Contextuals=Alts}]{Universal Modern} This does not work anymore. One needs to modify this as follows: \u00a0\\setmainfont[Mapping=tex-text,Script=Greek, \u00a0\u00a0 UprightFeatures={Contextuals=NoAlternate}, \u00a0\u00a0 SmallCapsFeatures={Contextuals=Alternate}]{Universal Modern} If one omits the UprightFeatures part, then the SmallCapsFeatures apply everywhere.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-uncategorized","entry"],"_links":{"self":[{"href":"https:\/\/eutypon.gr\/e-blog\/index.php\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eutypon.gr\/e-blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eutypon.gr\/e-blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eutypon.gr\/e-blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eutypon.gr\/e-blog\/index.php\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":2,"href":"https:\/\/eutypon.gr\/e-blog\/index.php\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":21,"href":"https:\/\/eutypon.gr\/e-blog\/index.php\/wp-json\/wp\/v2\/posts\/19\/revisions\/21"}],"wp:attachment":[{"href":"https:\/\/eutypon.gr\/e-blog\/index.php\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eutypon.gr\/e-blog\/index.php\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eutypon.gr\/e-blog\/index.php\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}