1

I wanted to define one symbol using the dutchcal font, but using the dutchcal package ruins the command \mathcal.

One workaround was to define another command \matholdcal by

\DeclareMathAlphabet{\matholdcal}{OMS}{cmsy}{m}{n}

and replace \mathcal by \matholdcal all over the document. It works well although I don't understand the syntax of \DeclareMathAlphabet.

But it is a pain to use \matholdcal all the time, and creates a mess if I want to copy-paste parts of other documents.

I would like to do the opposite, leave the command \mathcal as it is, and create a new command just for the dutchcal font.

However I don't know how to look for fonts in my LaTeX tree, nor what to put in place of the OMS and cmsy above.

Thanks for the help!

3

I finally found a solution!

Looking into dutchcal.sty I found which lines to use instead of calling the package:

\DeclareMathAlphabet{\mathdutchcal}{U}{dutchcal}{m}{n}
\SetMathAlphabet{\mathdutchcal}{bold}{U}{dutchcal}{b}{n}
\DeclareMathAlphabet{\mathdutchbcal}{U}{dutchcal}{b}{n}

Hope others find it useful.

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.