TransWikia.com

How to insert first subfigures with caption in IEEE ACCESS LaTeX?

TeX - LaTeX Asked by Sungsin Lee on July 3, 2021

I want to insert first subfigures with caption in IEEE Access LaTeX by using subfloat but I can’t do,
because I think It can be only able to insert after using

Figure(topskip=0pt, botskip=0pt, midskip=0pt){filename}{captionlabel{}}

If I can’t write step1 code, step2 code does not working,
How can I solve this problem?

codes

documentclass{ieeeaccess}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage{graphicx}
usepackage{textcomp}

ifCLASSOPTIONcompsoc
    usepackage{subfig}
else
usepackage{subfig}
fi
begin{document}

%%% problems ...... 
Figure[t!](topskip=0pt, botskip=0pt, midskip=0pt){Fig1_A.eps}
{(a) ${x}^H$, (b) $x^{IVS}$, $(c) x^{FSDD}$, $(d) x^{ENM}$, $(e)     x^{SEG}$. Samples of a cropped full face image and several kinds of sub-images.label{fig:Fig1}}

begin{figure}[t!]
centering
subfloat[]{includegraphics[width=0.5in]{Fig1_A.eps}
label{fig:Fig1_A}}
hfil
subfloat[]{
includegraphics[width=0.5in]{Fig1_B.eps}
label{fig:Fig1_B}}
hfil
subfloat[]{
includegraphics[width=0.5in]{Fig1_C.eps}
label{fig:Fig1_C}}
hfil
subfloat[]{
includegraphics[width=0.5in]{Fig1_D.eps}
label{fig:Fig1_D}}
hfil
subfloat[]{includegraphics[width=0.5in]{Fig1_E.eps}
label{fig:Fig1_E}}
caption{(a) ${x}^H$, (b) $x^{IVS}$, $(c) x^{FSDD}$, $(d) x^{ENM}$, $(e) x^{SEG}$. Samples of a cropped full face image and several kinds of sub-images.}
label{fig:Fig1}
end{figure}

end{document}

One Answer

I had the same problem. It seems unavoidable.

If you use Figure for a single image you want to show, then you can use subfigure for multiple images later, without problems.

But if there is not Figure anywhere in your code, then you are gonna get log errors about captions in all the typical figure enviroments.

Hope they fix that problem with the template.

Answered by Anon on July 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP