How to use the (restrained) "CM calligraphic, cmsy", mentioned in "What are all the font styles I can use in math mode?"?
Can you provide a minimum working example please?

Asked
Active
Viewed 487 times
4
Ommo
- 835
-
3why the -1 vote? – Ommo Sep 06 '23 at 11:09
-
1Let me preface this by saying that I do not give negative votes; perhaps you could do it yourself. If I understand you correctly, you want normal and bold calligraphic characters? – Sebastiano Sep 06 '23 at 11:14
-
Thanks for your comment @Sebastiano. Of course I can do it by myself, but I do not understand where "cm" or "cmsy" is contained....in which package? – Ommo Sep 06 '23 at 11:18
-
1I think here: \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} – Sebastiano Sep 06 '23 at 11:20
2 Answers
7
Just for the sake of variety, here's a solution that employs the mathalpha package. Aside: the screenshot shown in the OP's query originates from the user guide of the mathalpha package.
\documentclass{article}
\usepackage[cal=cm]{mathalpha}
\begin{document}
$\mathcal{ABC\dots XYZ}$ \quad $\mathbfcal{ABC\dots XYZ}$
\end{document}
Mico
- 506,678
-
2
-
1
-
2@limone Please, can you give the green check mark to Mico seen that is the great answer? Thank you. – Sebastiano Sep 07 '23 at 11:18
-
2Done :-) Btw, I would have accepted both Answers, many thanks to both! :-) – Ommo Sep 07 '23 at 11:19
-
1@Sebastiano - Thanks for being so generous! (Incidentally, I upvoted your answer before posting mine...) – Mico Sep 07 '23 at 11:25
-
1
5
\documentclass[12pt]{article}
\usepackage{amsmath,amssymb}
\DeclareMathAlphabet\mathbfcal{OMS}{cmsy}{b}{n}
\begin{document}
$\mathcal{ABCDEFGHILMNOPQRRSTUVZ}$, $\mathbfcal{ABCDEFGHILMNOPQRRSTUVZ}$
\end{document}
Sebastiano
- 54,118
-
1thanks a lot! I did not know about the
\DeclareMathAlphabet\mathbfcal{OMS}{cmsy}{b}{n}command, thanks a lot! – Ommo Sep 06 '23 at 11:20 -
I have noticed that, for the not-bold case, I get what you get only if I add this line
\DeclareSymbolFont{symbols} {OMS}{cmsy}{m}{n}, just after\DeclareMathAlphabet\mathbfcal{OMS}{cmsy}{b}{n}– Ommo Sep 06 '23 at 13:50 -
3@limone for the non bold, you can simply use
\mathcalno definition is needed, it is standard latex – David Carlisle Sep 06 '23 at 21:18 -
Thanks a lot @David Carlisle.... Initially, I indeed just used
\mathcal, but with just that command, I did not get my desired font... but then, just by adding\DeclareSymbolFont{symbols} {OMS}{cmsy}{m}{n}, I was able to get the desired output.... I do not why to be honest...... :-) – Ommo Sep 07 '23 at 09:14 -
1@limone that's the default definition so you are just using standard
\mathcal– David Carlisle Sep 07 '23 at 14:41 -

