0

Let's consider the two files below (they come from one of my very modest LaTeX projects).

  1. tnsmath-doc[fr].tex
  2. tnsmath.sty

The use of latex -shell-escape tnsmath-doc\[fr\].tex with these two files gives me the following error.

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

See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ...

l.1 $\setalge{A} $ ,

I know that I have to use things like in the code above to avoid that kind of error (the lines of the example are inside tnsmath.sty).

\DeclareFontFamily{U}{mathb}{}
\DeclareFontShape{U}{mathb}{m}{n}{
  <-5.5> mathb5
  <5.5-6.5> mathb6
  <6.5-7.5> mathb7
  <7.5-8.5> mathb8
  <8.5-9.5> mathb9
  <9.5-11> mathb10
  <11-> mathb12
}{}
\DeclareSymbolFont{mathb}{U}{mathb}{m}{n}
\DeclareFontSubstitution{U}{mathb}{m}{n}

\DeclareMathSymbol{\tnslog@leftleftharpoons} {3}{mathb}{"D8} \DeclareMathSymbol{\tnslog@rightrightharpoons}{3}{mathb}{"D9}

I would like to do the same thing everywhere that is needed but I have to make first a M(not)WE from my huge TEX file such as to test the usefulness of my changes.

Can someone help me?

projetmbc
  • 13,315

0 Answers0