I use Siunitx within beamer and meet the following errors:
! LaTeX Error: Too many math alphabets used in version normal.
I've tried to strip down my code to obtain a minimal example but
failed. Any hints on this issue or give me some hints on preparing
the minimal example?
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
Hello Hongyi,
There was an issue with an earlier version of siunitx in this area.
Which version of the package are you using? Can you let me have a copy
of your preamble: I probably know what to look for!
--
Joseph Wright
>Hello Hongyi,
>
>There was an issue with an earlier version of siunitx in this area.
>Which version of the package are you using? Can you let me have a copy
>of your preamble: I probably know what to look for!
I've sent it to your mail by private. Thanks a lot.
>
> I've sent it to your mail by private. Thanks a lot.
Cutting things down, I got to:
\documentclass{beamer}
\usepackage{siunitx,bm,pxfonts}
\begin{document}
\end{document}
a giving a problem. A little more work reveals that you don't have to
load siunitx to see the problem:
\documentclass{beamer}
\usepackage{bm,pxfonts}
\begin{document}
$\mathsf a$ $\mathtt b$
\end{document}
The issue occurs because siunitx needs to check on the current \mathsf
and \mathtt fonts at the start of the document. This is done by
setting a couple of boxes and getting the font information. As you
can see, this fails with a combination of bm, pxfonts and beamer:
between them they use up all of slots available.
There is not really much I can do about this: perhaps report it to the
beamer maintainers (if you load bm and pxfonts then beamer should
presumably keep out of the way).
--
Joseph Wright
>There is not really much I can do about this: perhaps report it to the
>beamer maintainers (if you load bm and pxfonts then beamer should
>presumably keep out of the way).
I've reported it to the author of beamer: Prof. Dr. Till Tantau
<tan...@tcs.uni-luebeck.de>.
Thanks again.
the bm documentation has information on saving math alphabets -- read
it.
(math alphabets are a ridiculously limited resource.)
--
Robin Fairbairns, Cambridge
> (math alphabets are a ridiculously limited resource.)
You are telling me. This has caused me a lot of headaches in siunitx!
--
Joseph Wright