Graphics, Figures & Tables!missing = inserted for \ifdim

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
sun_ch
Posts: 1
Joined: Tue Jun 24, 2014 12:46 pm

!missing = inserted for \ifdim

Post by sun_ch »

The minimum working variable is as follows and it shows the error message

Code: Select all

!missing = inserted for \ifdim
. Anyone can tell me why this happens? And it is weird that I compile this file in one of my folder it works but it does not work in another folder.

Code: Select all

\documentclass[conference]{IEEEtran}
\usepackage[demo]{graphicx}% remove the 'demo' option in the real document
\usepackage[footnotesize]{subfigure}
%\usepackage[font=footnotesize]{subfig}

\begin{document}

 \begin{figure}
     \subfigure[]{\includegraphics[width=0.32\textwidth]{eg1xVsk.eps}\label{fig:eg1xVsk}}
 \end{figure}

\end{document}
Last edited by cgnieder on Wed Jun 25, 2014 11:24 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

!missing = inserted for \ifdim

Post by Johannes_B »

Your example works fine for me. Put \listfiles in you very first line (above \documentclass) and test again in different folders. Compare the filelist, i guess you have an old version file somewhere.

Btw: Package subfigure is obsolete. subfig or subcaption are it's successors.
Last edited by cgnieder on Wed Jun 25, 2014 11:25 am, edited 1 time in total.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply