Problem compiler error about figure/subfigure ' caption using latex IEEE ACCESS template
up vote
5
down vote
favorite
In IEEE ACCESS template latex file, there is a example code of "Figure", when inserting pictures into paper.
But I want to use figure and subfigure environment to fit my requirement. So I add usepackage of "subfigure" and "caption", except for losing figure's caption color it works well. If I cancel the usagepackage of "caption", compiler error occurs: "Undefined control sequence. caption{Universe}"
How I can use figure and subfigure which shows correctly and normally(with color caption) in my paper? (I am using MikTex and Texstudio in Windows10)
Following is the source code of latex file and error picture.
IEEE ACCESS template is here.
latex source code:
% !TeX spellcheck = en_US
documentclass{ieeeaccess}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{graphicx}
usepackage{subfigure} % support sub-figure
% compiler error without following two lines
%usepackage{caption,setspace}
%captionsetup{font={small,stretch=0.80}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{document}
begin{abstract}
hese instructions give you guidelines for preparing papers for
IEEE Access. Use this document as a template if you are
using LaTeX. Otherwise, use this document as an
instruction set.
end{abstract}
begin{keywords}
Figure, Float, SubFigure
end{keywords}
titlepgskip=-15pt
section{Introduction}
label{sec:introduction}
PARstart{T}{his} document is a template for LaTeX. If you are
reading a paper or PDF version of this document, please download the
electronic file ref{fig:universe}.
begin{figure}[h!]
centering
includegraphics[scale=1.0]{universe.jpg}
caption{Universe}
label{fig:universe}
end{figure}
EOD
end{document}
floats captions templates subfig
add a comment |
up vote
5
down vote
favorite
In IEEE ACCESS template latex file, there is a example code of "Figure", when inserting pictures into paper.
But I want to use figure and subfigure environment to fit my requirement. So I add usepackage of "subfigure" and "caption", except for losing figure's caption color it works well. If I cancel the usagepackage of "caption", compiler error occurs: "Undefined control sequence. caption{Universe}"
How I can use figure and subfigure which shows correctly and normally(with color caption) in my paper? (I am using MikTex and Texstudio in Windows10)
Following is the source code of latex file and error picture.
IEEE ACCESS template is here.
latex source code:
% !TeX spellcheck = en_US
documentclass{ieeeaccess}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{graphicx}
usepackage{subfigure} % support sub-figure
% compiler error without following two lines
%usepackage{caption,setspace}
%captionsetup{font={small,stretch=0.80}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{document}
begin{abstract}
hese instructions give you guidelines for preparing papers for
IEEE Access. Use this document as a template if you are
using LaTeX. Otherwise, use this document as an
instruction set.
end{abstract}
begin{keywords}
Figure, Float, SubFigure
end{keywords}
titlepgskip=-15pt
section{Introduction}
label{sec:introduction}
PARstart{T}{his} document is a template for LaTeX. If you are
reading a paper or PDF version of this document, please download the
electronic file ref{fig:universe}.
begin{figure}[h!]
centering
includegraphics[scale=1.0]{universe.jpg}
caption{Universe}
label{fig:universe}
end{figure}
EOD
end{document}
floats captions templates subfig
Welcome to TeX.SE!
– Cragfelt
Dec 16 '17 at 1:28
1
Are you forced by a journal using that class? If yes, I think they will not accept papers not using there template, so do not change it ... Ask if you are allowed to change the template ...
– Kurt
Dec 17 '17 at 1:58
subfigure
is obsolete for over ten years.
– Johannes_B
Dec 24 '17 at 7:54
add a comment |
up vote
5
down vote
favorite
up vote
5
down vote
favorite
In IEEE ACCESS template latex file, there is a example code of "Figure", when inserting pictures into paper.
But I want to use figure and subfigure environment to fit my requirement. So I add usepackage of "subfigure" and "caption", except for losing figure's caption color it works well. If I cancel the usagepackage of "caption", compiler error occurs: "Undefined control sequence. caption{Universe}"
How I can use figure and subfigure which shows correctly and normally(with color caption) in my paper? (I am using MikTex and Texstudio in Windows10)
Following is the source code of latex file and error picture.
IEEE ACCESS template is here.
latex source code:
% !TeX spellcheck = en_US
documentclass{ieeeaccess}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{graphicx}
usepackage{subfigure} % support sub-figure
% compiler error without following two lines
%usepackage{caption,setspace}
%captionsetup{font={small,stretch=0.80}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{document}
begin{abstract}
hese instructions give you guidelines for preparing papers for
IEEE Access. Use this document as a template if you are
using LaTeX. Otherwise, use this document as an
instruction set.
end{abstract}
begin{keywords}
Figure, Float, SubFigure
end{keywords}
titlepgskip=-15pt
section{Introduction}
label{sec:introduction}
PARstart{T}{his} document is a template for LaTeX. If you are
reading a paper or PDF version of this document, please download the
electronic file ref{fig:universe}.
begin{figure}[h!]
centering
includegraphics[scale=1.0]{universe.jpg}
caption{Universe}
label{fig:universe}
end{figure}
EOD
end{document}
floats captions templates subfig
In IEEE ACCESS template latex file, there is a example code of "Figure", when inserting pictures into paper.
But I want to use figure and subfigure environment to fit my requirement. So I add usepackage of "subfigure" and "caption", except for losing figure's caption color it works well. If I cancel the usagepackage of "caption", compiler error occurs: "Undefined control sequence. caption{Universe}"
How I can use figure and subfigure which shows correctly and normally(with color caption) in my paper? (I am using MikTex and Texstudio in Windows10)
Following is the source code of latex file and error picture.
IEEE ACCESS template is here.
latex source code:
% !TeX spellcheck = en_US
documentclass{ieeeaccess}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{graphicx}
usepackage{subfigure} % support sub-figure
% compiler error without following two lines
%usepackage{caption,setspace}
%captionsetup{font={small,stretch=0.80}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{document}
begin{abstract}
hese instructions give you guidelines for preparing papers for
IEEE Access. Use this document as a template if you are
using LaTeX. Otherwise, use this document as an
instruction set.
end{abstract}
begin{keywords}
Figure, Float, SubFigure
end{keywords}
titlepgskip=-15pt
section{Introduction}
label{sec:introduction}
PARstart{T}{his} document is a template for LaTeX. If you are
reading a paper or PDF version of this document, please download the
electronic file ref{fig:universe}.
begin{figure}[h!]
centering
includegraphics[scale=1.0]{universe.jpg}
caption{Universe}
label{fig:universe}
end{figure}
EOD
end{document}
floats captions templates subfig
floats captions templates subfig
edited Dec 17 '17 at 17:43
engineer
5361413
5361413
asked Dec 16 '17 at 1:14
Wangwang
284
284
Welcome to TeX.SE!
– Cragfelt
Dec 16 '17 at 1:28
1
Are you forced by a journal using that class? If yes, I think they will not accept papers not using there template, so do not change it ... Ask if you are allowed to change the template ...
– Kurt
Dec 17 '17 at 1:58
subfigure
is obsolete for over ten years.
– Johannes_B
Dec 24 '17 at 7:54
add a comment |
Welcome to TeX.SE!
– Cragfelt
Dec 16 '17 at 1:28
1
Are you forced by a journal using that class? If yes, I think they will not accept papers not using there template, so do not change it ... Ask if you are allowed to change the template ...
– Kurt
Dec 17 '17 at 1:58
subfigure
is obsolete for over ten years.
– Johannes_B
Dec 24 '17 at 7:54
Welcome to TeX.SE!
– Cragfelt
Dec 16 '17 at 1:28
Welcome to TeX.SE!
– Cragfelt
Dec 16 '17 at 1:28
1
1
Are you forced by a journal using that class? If yes, I think they will not accept papers not using there template, so do not change it ... Ask if you are allowed to change the template ...
– Kurt
Dec 17 '17 at 1:58
Are you forced by a journal using that class? If yes, I think they will not accept papers not using there template, so do not change it ... Ask if you are allowed to change the template ...
– Kurt
Dec 17 '17 at 1:58
subfigure
is obsolete for over ten years.– Johannes_B
Dec 24 '17 at 7:54
subfigure
is obsolete for over ten years.– Johannes_B
Dec 24 '17 at 7:54
add a comment |
3 Answers
3
active
oldest
votes
up vote
3
down vote
accepted
If you are allowed to change the template, you can use the labelfont
key in captionsetup
to set the color. Finding the latter took some digging in the code of the class. I also took the freedom to set the fonts according to the template (sf
and bf
).
The code:
% !TeX spellcheck = en_US
documentclass{ieeeaccess}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
%usepackage{algorithm}
%usepackage{algorithmic}
usepackage{graphicx}
usepackage{subfigure} % support sub-figure
% compiler error without following two lines
usepackage{caption,setspace}
captionsetup{font={sf,small,stretch=0.80},labelfont={bf,color=accessblue}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{document}
begin{abstract}
hese instructions give you guidelines for preparing papers for
IEEE Access. Use this document as a template if you are
using LaTeX. Otherwise, use this document as an
instruction set.
end{abstract}
begin{keywords}
Figure, Float, SubFigure
end{keywords}
titlepgskip=-15pt
section{Introduction}
label{sec:introduction}
PARstart{T}{his} document is a template for LaTeX. If you are
reading a paper or PDF version of this document, please download the
electronic file ref{fig:universe}.
begin{figure}[h!]
centering
includegraphics[scale=0.2]{example-image.png}
caption{Universe}
label{fig:universe}
end{figure}
Figure[h]()[scale=0.2]{example-image.png}{Universe}
EOD
end{document}
2
subfigure
is obsolete package.its supersede issubfig
. or usesubcaption
.
– Zarko
Dec 17 '17 at 18:13
add a comment |
up vote
4
down vote
They provide a new command to handle the images in IEEE Access. I show you an example.
Figure[!t]()[width=0.95textwidth]{imageName}
{Caption.label{fig:label}}
This command puts the image using two columns or one column automatically. It depends on the figure's dimension. If it is lower than 50%, the figure is put in one column, else in two columns.
add a comment |
up vote
2
down vote
for plotting subfigures i used the code in the IEEE access template and it works. I included the following packages
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage{graphicx}
usepackage[caption=false]{subfig}
usepackage{caption,setspace}
captionsetup{font={sf,small,stretch=0.80},labelfont={bf,color=accessblue}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{figure*}[!t]
centering
%vspace*{-.02in}
subfloat[Performance comparison when x=t]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig1.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig2.pdf}
label{p_D_req_100}
}
% vspace*{-.14in}
hfill
subfloat[Performance comparison when x=u]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig3.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig4.pdf}
label{p_D_req_400}
}
% vspace*{-.14in}
hfill
subfloat[Performance comparison when x=z]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig5.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig6.pdf}
label{p_D_req_1000}
}
caption{the EE (left) and xxxx (right) of cat cat cat load.}
label{fig:p_graph}
end{figure*}
Welcome to TeX.Stackexchange!
– samcarter
Jun 21 at 19:20
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
If you are allowed to change the template, you can use the labelfont
key in captionsetup
to set the color. Finding the latter took some digging in the code of the class. I also took the freedom to set the fonts according to the template (sf
and bf
).
The code:
% !TeX spellcheck = en_US
documentclass{ieeeaccess}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
%usepackage{algorithm}
%usepackage{algorithmic}
usepackage{graphicx}
usepackage{subfigure} % support sub-figure
% compiler error without following two lines
usepackage{caption,setspace}
captionsetup{font={sf,small,stretch=0.80},labelfont={bf,color=accessblue}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{document}
begin{abstract}
hese instructions give you guidelines for preparing papers for
IEEE Access. Use this document as a template if you are
using LaTeX. Otherwise, use this document as an
instruction set.
end{abstract}
begin{keywords}
Figure, Float, SubFigure
end{keywords}
titlepgskip=-15pt
section{Introduction}
label{sec:introduction}
PARstart{T}{his} document is a template for LaTeX. If you are
reading a paper or PDF version of this document, please download the
electronic file ref{fig:universe}.
begin{figure}[h!]
centering
includegraphics[scale=0.2]{example-image.png}
caption{Universe}
label{fig:universe}
end{figure}
Figure[h]()[scale=0.2]{example-image.png}{Universe}
EOD
end{document}
2
subfigure
is obsolete package.its supersede issubfig
. or usesubcaption
.
– Zarko
Dec 17 '17 at 18:13
add a comment |
up vote
3
down vote
accepted
If you are allowed to change the template, you can use the labelfont
key in captionsetup
to set the color. Finding the latter took some digging in the code of the class. I also took the freedom to set the fonts according to the template (sf
and bf
).
The code:
% !TeX spellcheck = en_US
documentclass{ieeeaccess}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
%usepackage{algorithm}
%usepackage{algorithmic}
usepackage{graphicx}
usepackage{subfigure} % support sub-figure
% compiler error without following two lines
usepackage{caption,setspace}
captionsetup{font={sf,small,stretch=0.80},labelfont={bf,color=accessblue}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{document}
begin{abstract}
hese instructions give you guidelines for preparing papers for
IEEE Access. Use this document as a template if you are
using LaTeX. Otherwise, use this document as an
instruction set.
end{abstract}
begin{keywords}
Figure, Float, SubFigure
end{keywords}
titlepgskip=-15pt
section{Introduction}
label{sec:introduction}
PARstart{T}{his} document is a template for LaTeX. If you are
reading a paper or PDF version of this document, please download the
electronic file ref{fig:universe}.
begin{figure}[h!]
centering
includegraphics[scale=0.2]{example-image.png}
caption{Universe}
label{fig:universe}
end{figure}
Figure[h]()[scale=0.2]{example-image.png}{Universe}
EOD
end{document}
2
subfigure
is obsolete package.its supersede issubfig
. or usesubcaption
.
– Zarko
Dec 17 '17 at 18:13
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted
If you are allowed to change the template, you can use the labelfont
key in captionsetup
to set the color. Finding the latter took some digging in the code of the class. I also took the freedom to set the fonts according to the template (sf
and bf
).
The code:
% !TeX spellcheck = en_US
documentclass{ieeeaccess}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
%usepackage{algorithm}
%usepackage{algorithmic}
usepackage{graphicx}
usepackage{subfigure} % support sub-figure
% compiler error without following two lines
usepackage{caption,setspace}
captionsetup{font={sf,small,stretch=0.80},labelfont={bf,color=accessblue}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{document}
begin{abstract}
hese instructions give you guidelines for preparing papers for
IEEE Access. Use this document as a template if you are
using LaTeX. Otherwise, use this document as an
instruction set.
end{abstract}
begin{keywords}
Figure, Float, SubFigure
end{keywords}
titlepgskip=-15pt
section{Introduction}
label{sec:introduction}
PARstart{T}{his} document is a template for LaTeX. If you are
reading a paper or PDF version of this document, please download the
electronic file ref{fig:universe}.
begin{figure}[h!]
centering
includegraphics[scale=0.2]{example-image.png}
caption{Universe}
label{fig:universe}
end{figure}
Figure[h]()[scale=0.2]{example-image.png}{Universe}
EOD
end{document}
If you are allowed to change the template, you can use the labelfont
key in captionsetup
to set the color. Finding the latter took some digging in the code of the class. I also took the freedom to set the fonts according to the template (sf
and bf
).
The code:
% !TeX spellcheck = en_US
documentclass{ieeeaccess}
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
%usepackage{algorithm}
%usepackage{algorithmic}
usepackage{graphicx}
usepackage{subfigure} % support sub-figure
% compiler error without following two lines
usepackage{caption,setspace}
captionsetup{font={sf,small,stretch=0.80},labelfont={bf,color=accessblue}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{document}
begin{abstract}
hese instructions give you guidelines for preparing papers for
IEEE Access. Use this document as a template if you are
using LaTeX. Otherwise, use this document as an
instruction set.
end{abstract}
begin{keywords}
Figure, Float, SubFigure
end{keywords}
titlepgskip=-15pt
section{Introduction}
label{sec:introduction}
PARstart{T}{his} document is a template for LaTeX. If you are
reading a paper or PDF version of this document, please download the
electronic file ref{fig:universe}.
begin{figure}[h!]
centering
includegraphics[scale=0.2]{example-image.png}
caption{Universe}
label{fig:universe}
end{figure}
Figure[h]()[scale=0.2]{example-image.png}{Universe}
EOD
end{document}
answered Dec 17 '17 at 0:57
Mike
7,6041717
7,6041717
2
subfigure
is obsolete package.its supersede issubfig
. or usesubcaption
.
– Zarko
Dec 17 '17 at 18:13
add a comment |
2
subfigure
is obsolete package.its supersede issubfig
. or usesubcaption
.
– Zarko
Dec 17 '17 at 18:13
2
2
subfigure
is obsolete package.its supersede is subfig
. or use subcaption
.– Zarko
Dec 17 '17 at 18:13
subfigure
is obsolete package.its supersede is subfig
. or use subcaption
.– Zarko
Dec 17 '17 at 18:13
add a comment |
up vote
4
down vote
They provide a new command to handle the images in IEEE Access. I show you an example.
Figure[!t]()[width=0.95textwidth]{imageName}
{Caption.label{fig:label}}
This command puts the image using two columns or one column automatically. It depends on the figure's dimension. If it is lower than 50%, the figure is put in one column, else in two columns.
add a comment |
up vote
4
down vote
They provide a new command to handle the images in IEEE Access. I show you an example.
Figure[!t]()[width=0.95textwidth]{imageName}
{Caption.label{fig:label}}
This command puts the image using two columns or one column automatically. It depends on the figure's dimension. If it is lower than 50%, the figure is put in one column, else in two columns.
add a comment |
up vote
4
down vote
up vote
4
down vote
They provide a new command to handle the images in IEEE Access. I show you an example.
Figure[!t]()[width=0.95textwidth]{imageName}
{Caption.label{fig:label}}
This command puts the image using two columns or one column automatically. It depends on the figure's dimension. If it is lower than 50%, the figure is put in one column, else in two columns.
They provide a new command to handle the images in IEEE Access. I show you an example.
Figure[!t]()[width=0.95textwidth]{imageName}
{Caption.label{fig:label}}
This command puts the image using two columns or one column automatically. It depends on the figure's dimension. If it is lower than 50%, the figure is put in one column, else in two columns.
edited Jun 6 at 10:12
naphaneal
2,1281927
2,1281927
answered Jun 6 at 9:20
Pedro A. Marin-Reyes
411
411
add a comment |
add a comment |
up vote
2
down vote
for plotting subfigures i used the code in the IEEE access template and it works. I included the following packages
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage{graphicx}
usepackage[caption=false]{subfig}
usepackage{caption,setspace}
captionsetup{font={sf,small,stretch=0.80},labelfont={bf,color=accessblue}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{figure*}[!t]
centering
%vspace*{-.02in}
subfloat[Performance comparison when x=t]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig1.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig2.pdf}
label{p_D_req_100}
}
% vspace*{-.14in}
hfill
subfloat[Performance comparison when x=u]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig3.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig4.pdf}
label{p_D_req_400}
}
% vspace*{-.14in}
hfill
subfloat[Performance comparison when x=z]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig5.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig6.pdf}
label{p_D_req_1000}
}
caption{the EE (left) and xxxx (right) of cat cat cat load.}
label{fig:p_graph}
end{figure*}
Welcome to TeX.Stackexchange!
– samcarter
Jun 21 at 19:20
add a comment |
up vote
2
down vote
for plotting subfigures i used the code in the IEEE access template and it works. I included the following packages
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage{graphicx}
usepackage[caption=false]{subfig}
usepackage{caption,setspace}
captionsetup{font={sf,small,stretch=0.80},labelfont={bf,color=accessblue}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{figure*}[!t]
centering
%vspace*{-.02in}
subfloat[Performance comparison when x=t]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig1.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig2.pdf}
label{p_D_req_100}
}
% vspace*{-.14in}
hfill
subfloat[Performance comparison when x=u]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig3.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig4.pdf}
label{p_D_req_400}
}
% vspace*{-.14in}
hfill
subfloat[Performance comparison when x=z]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig5.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig6.pdf}
label{p_D_req_1000}
}
caption{the EE (left) and xxxx (right) of cat cat cat load.}
label{fig:p_graph}
end{figure*}
Welcome to TeX.Stackexchange!
– samcarter
Jun 21 at 19:20
add a comment |
up vote
2
down vote
up vote
2
down vote
for plotting subfigures i used the code in the IEEE access template and it works. I included the following packages
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage{graphicx}
usepackage[caption=false]{subfig}
usepackage{caption,setspace}
captionsetup{font={sf,small,stretch=0.80},labelfont={bf,color=accessblue}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{figure*}[!t]
centering
%vspace*{-.02in}
subfloat[Performance comparison when x=t]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig1.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig2.pdf}
label{p_D_req_100}
}
% vspace*{-.14in}
hfill
subfloat[Performance comparison when x=u]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig3.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig4.pdf}
label{p_D_req_400}
}
% vspace*{-.14in}
hfill
subfloat[Performance comparison when x=z]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig5.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig6.pdf}
label{p_D_req_1000}
}
caption{the EE (left) and xxxx (right) of cat cat cat load.}
label{fig:p_graph}
end{figure*}
for plotting subfigures i used the code in the IEEE access template and it works. I included the following packages
usepackage{cite}
usepackage{amsmath,amssymb,amsfonts}
usepackage{algorithmic}
usepackage{graphicx}
usepackage[caption=false]{subfig}
usepackage{caption,setspace}
captionsetup{font={sf,small,stretch=0.80},labelfont={bf,color=accessblue}}
usepackage{textcomp}
defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}
begin{figure*}[!t]
centering
%vspace*{-.02in}
subfloat[Performance comparison when x=t]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig1.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig2.pdf}
label{p_D_req_100}
}
% vspace*{-.14in}
hfill
subfloat[Performance comparison when x=u]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig3.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig4.pdf}
label{p_D_req_400}
}
% vspace*{-.14in}
hfill
subfloat[Performance comparison when x=z]{
hspace*{-.1in}
includegraphics[scale=0.33]{fig5.pdf}
hspace*{-.1in}
includegraphics[scale=0.33]{fig6.pdf}
label{p_D_req_1000}
}
caption{the EE (left) and xxxx (right) of cat cat cat load.}
label{fig:p_graph}
end{figure*}
edited Jun 21 at 20:25
answered Jun 21 at 7:58
S.N
212
212
Welcome to TeX.Stackexchange!
– samcarter
Jun 21 at 19:20
add a comment |
Welcome to TeX.Stackexchange!
– samcarter
Jun 21 at 19:20
Welcome to TeX.Stackexchange!
– samcarter
Jun 21 at 19:20
Welcome to TeX.Stackexchange!
– samcarter
Jun 21 at 19:20
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f406408%2fproblem-compiler-error-about-figure-subfigure-caption-using-latex-ieee-access%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Welcome to TeX.SE!
– Cragfelt
Dec 16 '17 at 1:28
1
Are you forced by a journal using that class? If yes, I think they will not accept papers not using there template, so do not change it ... Ask if you are allowed to change the template ...
– Kurt
Dec 17 '17 at 1:58
subfigure
is obsolete for over ten years.– Johannes_B
Dec 24 '17 at 7:54