20

I want to write the power set of a set S as 2^S. But the 2 should be kind of calligraphic. I tried cal and mathcal but they do not work with numbers. Has anybody an idea?

  • 4
    Could you provide a visual example of what you're trying to accomplish? "Kind of calligraphic" is a pretty vague description... – Tomas Aschan Sep 17 '12 at 11:09
  • Just not a regular 2. And not just italic. – Jana Sep 17 '12 at 11:28
28

Fonts "Zapf Chancery" or its successor "TeX Gyre Chorus" also contain some kind of "calligraphic" digits:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{amsmath}

\newcommand*{\textcal}[1]{%
  % family qzc: Font TeX Gyre Chorus (package tgchorus)
  % family pzc: Font Zapf Chancery (package chancery)
  \textit{\fontfamily{qzc}\selectfont#1}%
}
\begin{document}
  $\mathcal{P}(S) = \textcal{2}^S \qquad
  \text{with }\textcal{2} = \{0,1\}$
\end{document}

Result with TeX Gyre Chorus

| improve this answer | |
  • 1
    Minor nit pick, but I think should be S = {0,1}. – Peter Grill Feb 20 '13 at 1:54
  • 2
    @PeterGrill S can be any set. Consider {0,1} as kind of selector that is applied on each element in S. Going through all combinations gets all subsets of S and as result the power set. – Heiko Oberdiek Feb 20 '13 at 9:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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