Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I used package subfig(for using \subfloat). This undoes the special font size for the captions in the figures. Now they are of same size as normal text. How to counter that?

The Document class and packages included are:

documentclass[letterpaper, 10 pt, conference]{ieeeconf} 


\IEEEoverridecommandlockouts                              
\overrideIEEEmargins
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{subfig, graphicx}
\DeclareGraphicsExtensions{.pdf, .jpeg, .png, .jpg}
\usepackage{cite}
\usepackage{amssymb,amsmath}
\floatname{algorithm}{Procedure}
\renewcommand{\algorithmicrequire}{\textbf{Input:}}
\renewcommand{\algorithmicensure}{\textbf{Output:}}

The figure I added is:

\centering
\includegraphics[width=0.4\textwidth,height=0.3\textwidth]
{images/framework.eps}
\caption{Block diagrammic representation of our framework}
\label{fig:framework}
\end{figure}  

I am able to see small font if I remove subfig.

share|improve this question
1  
Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Jubobs Mar 13 '13 at 9:36
    
edited with example. –  Swagatika Mar 13 '13 at 10:29
4  
Try \usepackage[caption=false]{subfig}; the caption package loaded by default is not compatible with IEEE classes. –  egreg Mar 13 '13 at 10:48
    
thanks it worked , please add this as answer. Can't I use subfigure and subfig together? It seems to create conflict... –  Swagatika Mar 13 '13 at 12:04
1  
No, you can use only one, either subfigure or `subfig'. –  Axel Sommerfeldt Mar 14 '13 at 7:20

1 Answer 1

up vote 4 down vote accepted

The package caption is not compatible with the IEEE classes; you can still load subfig, but with

\usepackage[caption=false]{subfig}

which won't redefine the \caption command, but will provide the main functionalities of subfig nonetheless.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.