[Tex/LaTex] File `subfigure.sty’ not found

errorspackages

File subfigure.sty not found.

How can I fix this error? I compile my .tex file without any error with my laptop but I get this error when I compile with my office PC.

Best Answer

Both TeX Live and MiKTeX provide both subfigure and subfig as distribution packages. Both packages are written by the same author. The newer package subfig replaces the older package, but it is not fully backward compatible (see the package documentation).

Unless you have an ancient TeX distribution, you can install the missing package via the package manager of your TeX distribution. As subfigure is deprecated, you might consider using package subfig instead (the latter also requires package caption).

Related Question