报错内容如下:
Command \iint already defined. ...ewcommand{\iint}{\DOTSI\MultiIntegral{2}}
Command \iiint already defined. ...wcommand{\iiint}{\DOTSI\MultiIntegral{3}}
Font shape `U/wasy/b/n' in size <8> not available(Font) Font shape `U/wasy/m/n' tried instead
Font shape `U/wasy/b/n' in size <6> not available(Font) Font shape `U/wasy/m/n' tried instead
Font shape `OMX/cmex/m/n' in size <10.53937> not available(Font) size <10.95> substituted
Font shape `U/wasy/m/n' in size <10.53937> not available(Font) size <10.95> substituted
Font shape `U/wasy/b/n' in size <10.53937> not available(Font) size <10.95> substituted
Font shape `U/wasy/b/n' in size <7> not available(Font) Font shape `U/wasy/m/n' tried instead
Font shape `U/wasy/b/n' in size <5> not available(Font) Font shape `U/wasy/m/n' tried instead
Size substitutions with differences(Font) up to 0.41063pt have occurred.
原因是我在添加\usepackage{amsmath}该包后出现问题,代码没有问题。经测试是与其他的包冲突。
通常情况下,建议首先加载 amsmath
宏包,因为它是用于增强数学排版的核心宏包,许多其他宏包依赖于它。然后,再加载其他宏包,以确保它们不会覆盖或干扰 amsmath
宏包的功能。
解决方法:
将amsmath包提前 问题解决
\usepackage{amsmath}
\usepackage{wasysym}