我在 Xfig 中创建了一个 .fig 文件,现在我必须将它添加到我的 Latex 文档中。有人可以帮我解决这个问题,因为我是 Latex 的新手,并尝试了下面的代码,但它不起作用。我搜索了各种解决方案,但仍然出现此错误。
\documentclass[12pt]{article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[!htb]
\center{\includegraphics[width=2]{myfigure.fig}}
\end{figure}
\end{document}
我只想在页面上居中一个图形,但错误是:无法确定 myfigure.fig 中图形的大小(无边界框)。