Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Using MnSymbol, bm and pxfonts together causes

No room for a new \mathgroup

MWE:

\documentclass{article}
\usepackage{MnSymbol}
\usepackage{bm}
\usepackage{pxfonts}

\begin{document}
\end{document}

This answer to a similar question suggests using etex, but that doesn't help here. The bm documentation suggests inserting \newcommand\hmmax{0} to cut down on the number of fonts allocated, but again that doesn't help.

(Possibly relevant: I only need a few glyphs from each of MnSymbol, pxfonts, and a few \bm glyphs.)

share|improve this question
3  
Did you look at Importing a Single Symbol From a Different Font? –  egreg Dec 10 '12 at 8:34
add comment

1 Answer

up vote 5 down vote accepted

Load the bm package last (as documented:-) and it will all work out OK.

share|improve this answer
1  
Thanks! But the documentation suggests this only matters for getting the best quality bold symbols (\S3.4), because it needs to query other packages. Why does loading it last reduce the resource requirements? –  Mohan Dec 10 '12 at 9:44
2  
If bm thinks there are some spare mathgroups it will use them to more efficiently access the bold fonts. So they are not available for pxfonts. If you load pxfonts first bm knows how many spare slots it has to play with and works accordingly. –  David Carlisle Dec 10 '12 at 10:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.