TeX - LaTeX Asked on January 22, 2021
I was hitting the following mysterious error:
./xx.tex:7: Missing number, treated as zero.
<to be read again>
relax
l.7 binom{n}{k}
and I tracked it down to the breqn and flexisym packages vs. amsmath. Here is a MWE:
documentclass[letterpaper]{article}
usepackage{amsmath}
usepackage{flexisym}
usepackage{breqn}
begin{document}
begin{equation}
binom{n}{k}
end{equation}
end{document}
With either the flexisym or breqn usepackage’s left in, I hit the error above, but with neither left in, binom works fine.
I’m running texlive-2019.20200218-1, breqn 0.98h from WSL2 Ubuntu 20.04.1 LTS.
Is this a known problem? Are there any work arounds?
The issue happens when version 0.98i of breqn
and associated packages is used. I can reproduce it with TeX Live 2019.
Version 0.98j of mathstyle.sty
was specifically issued to solve the problem, see the changelog and you can download it. Save it in the working directory and it should work OK.
Note that the current version of the breqn
bundle is 0.98k, but I cannot recommend you to upgrade to this version, because other changes might be not compatible with the TeX Live 2019 you seem to be running on.
Correct answer by egreg on January 22, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP