3

I'd really like to keep the default \emptyset. I also use MnSymbol. But MnSymbols aliases \emptyset and \varnothing to \diameter.

How can I prevent that from happening? Could I save \emptyset previously to calling \usepackage{MnSymbol} and restore it later on?

  • 1
    I've marked your inline code with backticks `. – Hendrik Vogt Jan 19 '11 at 16:58
6

please provide complete examples! And the package name is MnSymbol

\documentclass{article}

\DeclareSymbolFont{Symbols}{OMS}{cmsy}{m}{n}
\DeclareMathSymbol{\Emptyset}{\mathord}{Symbols}{"3B}

\usepackage{MnSymbol}

\begin{document}

$\Emptyset$ $\emptyset$

\end{document}

alt text

  • 1
    Well, here one can do without a complete example, I think. But in general I fully agree! – Hendrik Vogt Jan 19 '11 at 16:59
  • Well, yes, but the answer is somewhat generic. – Hendrik Vogt Jan 19 '11 at 17:03
  • As I said, in general I fully agree! (I often ask people to provide complete examples.) – Hendrik Vogt Jan 19 '11 at 17:07
  • Thanks for the solution. Though the empty set looks different then it looks without MnSymbol used at all. The \emptyset looks like a Stop-Sign, while the \MnEmptySet looks like a the \diameter sign. The regular \emptyset looks more oval. – angerman Jan 19 '11 at 17:50
  • @angerman: see edited example – user2478 Jan 19 '11 at 19:24
0

For the sake of completeness, I believe you could just explicitly change the empty set back to the cm empty set:

\renewcommand{\emptyset}{\font\cmsy = cmsy10 at 10pt
 \hbox{\cmsy \char 59}
}

I think the other solutions are better, however.

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.