I have a problem with using \subcaption
and IEEEeqnarraybox
in IEEEtran
class.
The caption should look like below along with using \subcaption
(as it does without using \subcaption
)
but it looks like below with using \subcaption
Following is MWE:
\documentclass[twoside]{IEEEtran}
\usepackage[utf8]{inputenc}
\usepackage{newunicodechar}
\usepackage{booktabs}
\usepackage{lipsum}
\usepackage{subcaption}
\begin{document}
\lipsum[2]
\begin{table}[!t]
\centering
\caption{This is a Caption. \label{mylabel}}
\centering
\begin{IEEEeqnarraybox}[
\IEEEeqnarraystrutmode
\IEEEeqnarraystrutsizeadd{3pt}
{1pt}
]{c'c'c/v/c'c'c}
a & b& c && d & e
\\\hline
1 & 3 & 3 && +1 & +1 \\
3 & 5 & 4 && +1 & -1 \\
2& 2& 3 && -1 & +1 \\
4& 44& 24 && -1 & -1 \\
4& 5 & 10 && -1 & +1
\end{IEEEeqnarraybox}
\end{table}
\lipsum[1-40]
\end{document}
subcaption
is no option, I think?subcaption
because ofsubfigure
in my document.caption
gives a clear warning: "Unsupported document class -- don't use caption"