TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How does one activate a stylistic set in plain XeTeX?

I have tried:

\font\test="XITS Math:+ss01" % for calligraphic
$ \fam2 A $

but with no luck.

share|improve this question
up vote 1 down vote accepted

Of course A gives an A, as any font has an uppercase A in the corresponding slot:

\font\testa="XITS Math:script=math;language=DFLT;"                   
\font\testb="XITS Math:script=math;language=DFLT;+ss01;" 

$  \XeTeXmathchar "0 "2 "1D49C $

$  \XeTeXmathchar "0 "2 "1D49C $

enter image description here

share|improve this answer
Umm, yeah, the question wasn't perhaps perfectly clear: I was trying to achieve a calligraphic A. So one needs the script mapping for the cal to kick in, huh? Thanks! – morbusg Dec 11 '11 at 11:21
You have to know what's its code point: \cal A works in Plain TeX because \textfont2 has a calligraphic A in the slot corresponding to uppercase A. XITS Math has an A, there. – egreg Dec 11 '11 at 11:30
Yeah I know. Unicode doesn't have a reserved range for calligraphic (which is distinctive from script style), and different fonts use different ways for cal. The Unicode range for script is that 0x1D49C..0x1D4CF (accounting for both upper- and lowercase). What I didn't know, was that I needed to use the script range for the stylistic set -switch to kick in. In Asana Math, for example, the calligraphic range isn't available via stylistic set 1 on script-range. – morbusg Dec 11 '11 at 11:46
@morbusg: Mapping script to calligraphic seemed the most logical choice to me because of the similarity between both (they are even seen sometimes as mere stylistic variants of the same math alphabet rather than two different alphabets.) – Khaled Hosny Dec 11 '11 at 13:06
@morbusg -- if you can find several math documents from "recognized" publishers that use calligraphic and script in contrast to one another, with different meanings, i can open the question of adding a calligraphic block with the unicode technical committee. when the symbol set for the stix project was being developed, i couldn't find such examples, which is why they aren't distinguished in unicode. everyone on the committee believed they were simply subjective alternates, either for "house style" or personal preference. it's a hard sell. – barbara beeton Dec 11 '11 at 13:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.