[Tex/LaTex] Ensure the font size for captions of figures and tables

ieee-styleieeetran

A reviewer says that I have to ensure that

Captions of figures and tables: Font size should be 8 point.

Is there anyway I can ensure this? As I can't tell what is the size that I am currently using, thanks.

Here's the preamble

\documentclass[conference]{IEEEtran}
 \usepackage{etex}
\usepackage{amsmath, amssymb, url, proof} % mathabx,
\usepackage[
        colorlinks=true,
        citecolor=black,
        linkcolor=black,
        urlcolor=black,
        ]{hyperref}

\usepackage{textcomp}
\usepackage{listings}
\usepackage{times}
\usepackage{csp}
\usepackage{epsfig}
\usepackage{float}
\usepackage{multirow}
\usepackage[ruled,vlined,linesnumbered]{algorithm2e}
\usepackage{tikz}
%add usepackage%
\usetikzlibrary{shapes,arrows,positioning}
\usepackage{wrapfig}
\usepackage{graphicx}
\usepackage[latin1]{inputenc}
\usetikzlibrary{trees}
\usepackage{verbatim}
\usetikzlibrary{trees,decorations.pathmorphing}
\usepackage{listings}
\usepackage[T1]{fontenc}
\usepackage[scaled]{beramono}
\usepackage[skip=2pt]{caption}
\lstset{language=XML,
numberstyle=\footnotesize,
basicstyle=\footnotesize,
numbers=left,
stepnumber=1,
frame=shadowbox,
breaklines=true}
\DeclareMathOperator*{\sq}{\square}

Best Answer

The problem is in your usage of the caption package. Remove it, because it's not really compatible with IEEEtran and it's responsible for the change from the standard font size of captions.

There are some other glitches in your code:

  1. the package times shouldn't be loaded, as it's the default for IEEEtran

  2. the package epsfig is obsolete and should never be used in new documents

  3. the package hyperref should be loaded last (there are some packages that must go after it, but you use none of them)

  4. finally, the csp package seems not to be standard (it's not in TeX Live, for instance); if it's what I found on the net, it should be loaded with the [times] option.