1

I'm using Mnsymbol package but I don't like how looks \setminus. Because that I want use the default \setminux making

\documentclass{memoir}
\DeclareSymbolFont{Symbols}{OMS}{cmsy}{m}{n}
\DeclareMathSymbol{\Setminus}{\mathbin}{Symbols}{}

\usepackage{Mnsymbol}
\begin{document}
$\setminus$ $\Setminus$
\end{document}

but, as you can see, I miss something. How I get that?

6
  • Oh well, I thought that making \Setminus (note the S) not cause problems.
    – juanuni
    Commented Oct 11, 2015 at 4:28
  • Yes, is right. I just want call the default \setminus with another command. But I miss something ...
    – juanuni
    Commented Oct 11, 2015 at 4:42
  • Look my MWE :v .... the last {}
    – juanuni
    Commented Oct 11, 2015 at 4:47
  • I add a documentclass
    – juanuni
    Commented Oct 11, 2015 at 4:52
  • 4
    Possible duplicate: Importing a single symbol from a different font
    – Werner
    Commented Oct 11, 2015 at 5:20

1 Answer 1

3

The definition of \setminus and the setups for the symbols math font can be found in fontmath.ltx.

\documentclass{memoir}
\DeclareSymbolFont{Symbols}{OMS}{cmsy}{m}{n}
\SetSymbolFont{Symbols}{bold}{OMS}{cmsy}{b}{n}
\DeclareMathSymbol{\Setminus}{\mathbin}{Symbols}{"6E}

\usepackage{MnSymbol}
\begin{document}
$\setminus$ $\Setminus$
\end{document}

Result

Package MnSymbol (with uppercase S) redefines the standard symbols font of LaTeX, thus it needs a different name (Symbols) to avoid a conflict.

4
  • Really thanks, I will consider your suggestion. Why you make \SetSymbolFont{Symbols}{bold}{OMS}{cmsy}{b}{n}?
    – juanuni
    Commented Oct 12, 2015 at 3:25
  • @juanuni Completeness. Commented Oct 12, 2015 at 4:08
  • And if I use another symbols like AMSa, I just write AMSa instead Symbols in \SetSymbolFont order?
    – juanuni
    Commented Oct 12, 2015 at 23:04
  • @juanuni And you might need additional font declarations. In this case the font was already declared and defined. The slot number can usually be found by looking into the definition of the another symbol. Commented Oct 13, 2015 at 3:28

Not the answer you're looking for? Browse other questions tagged .