错误解决:Latex插入子图宏包\usepackage{subfigure}发生错误Command \c@lofdepth already defined. \newcounter{lofdepth}

错误解决:Latex插入子图宏包\usepackage{subfigure}发生错误Command \c@lofdepth already defined. \newcounter{lofdepth}_第1张图片
想用\subfigure命令插入子图及子标题,但是发生了这个错误。解决方案如下:
点击错误,自动跳转到
错误解决:Latex插入子图宏包\usepackage{subfigure}发生错误Command \c@lofdepth already defined. \newcounter{lofdepth}_第2张图片
把这一行注释掉。同样的,该文件中有两条相同的错误,我们就把这两个语句都注释掉。因为lofdepth在别的文件中已经定义,涉及到重定义的问题。
问题就解决了。

你可能感兴趣的:(latex)