4

This code :

\documentclass{article}
%\usepackage{framed}
\begin{document}
bla bla bla $\cap_{i\in I} X_i.$
\end{document}

produces : Symbol without framed package

and the same code with the line \usepackage{framed} uncommented produces :

Symbol with framed package

!!? How can this be possible ? I had a look at the framed.sty file and there is nothing like a "\cap" redefinition... ?

1 Answers1

2

It's not framed the responsible for this change in the math symbols, but MnSymbol.

Here's the example:

\documentclass{article}
\usepackage{MnSymbol}
\begin{document}
bla bla bla $\cap_{i\in I} X_i.$
\end{document}

enter image description here

Don't trust in advice (even if it's from this site) telling you to use the package just because it provides some symbol you need, because this package changes all math symbols to shapes that are thought to blend with the Minion font and are definitely out of place with Computer Modern (see the ugly \in).

Look at Importing a Single Symbol From a Different Font for importing just the symbols you need.

By the way, the correct way to input that formula is

$\bigcap_{i\in I}X_{i}$.

Note \bigcap and the full stop outside the formula.

egreg
  • 1,121,712
  • Thanks for the answer but I don't understand. Why is the MnSymbol involved in my example, because I don't use it via \usepackage ? The change arises when I put \usepackage{framed}. There are no other package imported in my example...

    And by the way, in effect other symbols are affected... :(

    – Carré rond Feb 28 '15 at 21:44
  • @Carrérond No, it's really impossible that just loading framed causes the problem, unless you have a bogus framed.sty somewhere on your system. – egreg Feb 28 '15 at 21:45
  • @Carrérond Can you look in the log file for the path to framed.sty? You should find something like /usr/local/texlive/2014/texmf-dist/tex/latex/framed/framed.sty Package: framed 2011/10/22 v 0.96: framed or shaded text with page breaks Search for framed.sty. – egreg Feb 28 '15 at 22:10
  • You're right : in fact, framed uses the mnsymbol package (line 110 of framed.sty is \usepackage{mnsymbol}) !! Now I understand... I'm going to make tries (comment the line...) to see what happens :-). Otherwise, I don't know what to do... – Carré rond Feb 28 '15 at 22:32
  • @Carrérond As I said, you have a bogus copy of framed.sty; the CTAN one doesn't load MnSymbol. – egreg Feb 28 '15 at 22:40
  • Yes, understood. I didn't know there would exist many different versions of a package... I don't remember where I picked up my version ? Thanks for the help :). – Carré rond Mar 01 '15 at 08:22