This question led to a new package:
fixcmex
While writing down my Combinatorics exercises I found that the binomial coefficient's delimiters weren't displayed as indicated inside the amsmath
documentation.
By subsequent trials and errors I was able to reduce the volume of my document to this simpler and fully compilable MWE:
\documentclass[11pt]{article}
%
\usepackage{amsmath}
%
\makeatletter
%
\usepackage{lmodern}
\usepackage{lipsum}
%
\makeatother
%
\begin{document}
%
\lipsum[1]
\begin{equation}
2^k-\binom{k}{1}2^{k-1}+\binom{k}{2}2^{k-2}
\end{equation}
\lipsum[1]
%
\end{document}
Which gives (using TeXworks 0.44 on MikTeX 2.9.4521 updated 09/10/13) this un-expected result:
While the amsmath
doc shows that with the loaded packages inside the MWE the result would actually be like this:
From here we can see that the delimiters on the first example are a little bit stretched vertically as they surpass the arguments inside the binom. coeff.
The more strange event is that when I comment the line \usepackage{lmodern}
the result on delimiter's shape in my example looks exactly as the amsmath
doc:
\documentclass[11pt]{article}
%
\usepackage{amsmath}
%
\makeatletter
%
%\usepackage{lmodern}
\usepackage{lipsum}
%
\makeatother
%
\begin{document}
%
\lipsum[1]
\begin{equation}
2^k-\binom{k}{1}2^{k-1}+\binom{k}{2}2^{k-2}
\end{equation}
\lipsum[1]
%
\end{document}
Output:
From here I deduce that the problem lies inside lmodern
, but I'd like to keep using this package and fix this wierd "issue" with the math mode. Is there some clue that I've missed or this is in fact an update-process bug infecting amsmath
's delimiter control?
\makeatletter
\makeatother
in this MWE.@
in between that needs to be activated...