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

I asked in this question Calligraphic numbers how to write a calligraphic number and got an answer.

Now I need a notation for k-subsets and use the answer as follows:


%%% for caligraphic number
  % family qzc: Font TeX Gyre Chorus (package tgchorus)
  % family pzc: Font Zapf Chancery (package chancery)



\sum_{P'\in\ksubsets{P}} \prod_{x \in P'} p_{x}



But I do not like how this looks. The 2 is too small. How can I change that?

share|improve this question
Well you could add \displaystyle before \textcal, but that really looks horrible. – Peter Grill Jan 28 '13 at 7:51
up vote 6 down vote accepted

The cleanest solution is to define a new font family; adjust the [1.2] scaling factor to suit; scaling up of 20% seems to be good.


% Calligraphic numbers
\DeclareFontShape{OT1}{sqzc}{m}{it}{<-> s * [1.2] rm-qzcmi}{}
\DeclareFontShape{OT1}{sqzc}{m}{sl}{<->ssub * qzc/m/it}{}
\DeclareFontShape{OT1}{sqzc}{m}{n}{<->ssub * qzc/m/it}{}

\DeclareFontShape{T1}{sqzc}{m}{it}{<-> [1.2] ec-qzcmi}{}
\DeclareFontShape{T1}{sqzc}{m}{sl}{<->sub * qzc/m/it}{}
\DeclareFontShape{T1}{sqzc}{m}{n}{<->sub * qzc/m/it}{}


% My command


\zcal{123}+123 \ne \sum_{P'\in\ksubsets{P}} \prod_{x \in P'} p_{x}


This "wastes" a math alphabet, but should pose no problem if you don't load many math fonts. It has an advantage: in the definition of the \ksubsets command one can use \mathop, that slightly lowers the 2, making for a better alignment.


share|improve this answer

You could use \mathlarger of the relsize package, to enlarge just the 2:



share|improve this answer

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.