lineno 和 mathtools 之间的交互非常奇怪

lineno 和 mathtools 之间的交互非常奇怪

下列:

\documentclass{article}
\usepackage{lineno}
\modulolinenumbers[1]
\usepackage{mathtools}
\begin{document}
\linenumbers
Test, hi!
\end{document}

给出了多个错误,例如\equation*已被定义:

Command \gather already defined. }
Command \gather* already defined. }
Command \alignat already defined. }
Command \alignat* already defined. }
Command \align already defined. }
Command \align* already defined. }
Command \flalign already defined. }
Command \flalign* already defined. }
Command \multline already defined. }
Command \multline* already defined. ...tart@multline\st@rredtrue}{\endmultline}
Command \equation* already defined. }

使用

  • Package: lineno 2022/07/30 段落行号 v5.0
  • package:mathtools 2022/06/29 v1.29 数学排版工具

相关内容