当我使用代码时,会显示两个空方块,每个方块中都显示图形的名称,但我需要图形。我该如何修复代码,才能显示图像?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{epstopdf}
\usepackage{multirow}
\usepackage{fancyhdr}
\usepackage{epsfig}
\usepackage{epic}
\usepackage{eepic}
\usepackage{amsmath}
\usepackage{threeparttable}
\usepackage{amscd}
\usepackage{here}
\usepackage{graphicx}
\usepackage{lscape}
\usepackage{tabularx}
\usepackage{subfigure}
\usepackage{longtable}
\usepackage{comment}
%para graficas
\begin{document}
\begin{figure}[!tbp]
\centering
\begin{minipage}[b]{0.4\textwidth}
\includegraphics[width=\textwidth]{ZTauEquilibrio.eps}
\caption{Flower one.}
\end{minipage}
\hfill
\begin{minipage}[b]{0.4\textwidth}
\includegraphics[width=\textwidth]{ZTauEquilibrioyCiclos_limites.eps}
\caption{Flower two.}
\end{minipage}
\end{figure}
\end{document}
答案1
使用draftfigure
包
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{epstopdf}
\usepackage{multirow}
\usepackage{fancyhdr}
\usepackage{epsfig}
\usepackage{epic}
\usepackage{eepic}
\usepackage{amsmath}
\usepackage{threeparttable}
\usepackage{amscd}
\usepackage{here}
\usepackage{graphicx}
\usepackage{lscape}
\usepackage{tabularx}
\usepackage{subfigure}
\usepackage{longtable}
\usepackage{comment}
\usepackage[%
filename ,%
]{draftfigure}
%para graficas
\begin{document}
\begin{figure}[!tbp]
\centering
\begin{minipage}[b]{0.4\textwidth}
\includegraphics[width=\textwidth]{ZTauEquilibrio.eps}
\caption{Flower one.}
\end{minipage}
\hfill
\begin{minipage}[b]{0.4\textwidth}
\includegraphics[width=\textwidth]{ZTauEquilibrioyCiclos_limites.eps}
\caption{Flower two.}
\end{minipage}
\end{figure}
\end{document}