Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Siunitx: ! LaTeX Error: Too many math alphabets used in version normal.

405 views
Skip to first unread message

Hongyi Zhao

unread,
Feb 18, 2009, 11:05:31 AM2/18/09
to
Dear Joseph,

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 :.

Joseph Wright

unread,
Feb 18, 2009, 2:12:56 PM2/18/09
to
Hongyi Zhao wrote:
> Dear Joseph,
>
> 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?
>

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

Hongyi Zhao

unread,
Feb 18, 2009, 10:17:11 PM2/18/09
to
On Wed, 18 Feb 2009 19:12:56 +0000, Joseph Wright
<joseph...@morningstar2.co.uk> wrote:

>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.

Joseph Wright

unread,
Feb 19, 2009, 8:56:24 AM2/19/09
to
On Feb 19, 3:17 am, Hongyi Zhao <hongyi.z...@gmail.com> wrote:

>
> 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

Hongyi Zhao

unread,
Feb 19, 2009, 9:50:21 AM2/19/09
to
On Thu, 19 Feb 2009 05:56:24 -0800 (PST), Joseph Wright
<joseph...@morningstar2.co.uk> wrote:

>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.

Robin Fairbairns

unread,
Feb 22, 2009, 2:47:53 PM2/22/09
to
Hongyi Zhao <hongy...@gmail.com> writes:
>On Thu, 19 Feb 2009 05:56:24 -0800 (PST), Joseph Wright
><joseph...@morningstar2.co.uk> wrote:
>
>>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>.

the bm documentation has information on saving math alphabets -- read
it.

(math alphabets are a ridiculously limited resource.)
--
Robin Fairbairns, Cambridge

Joseph Wright

unread,
Feb 22, 2009, 4:26:19 PM2/22/09
to
Robin Fairbairns wrote:

> (math alphabets are a ridiculously limited resource.)

You are telling me. This has caused me a lot of headaches in siunitx!
--
Joseph Wright

0 new messages