Error including four figures in a column with IEEETran classHow to insert subfigure with caption in IEEE...

Mathematical cryptic clues

Why don't electromagnetic waves interact with each other?

The use of multiple foreign keys on same column in SQL Server

How can I hide my bitcoin transactions to protect anonymity from others?

How does one intimidate enemies without having the capacity for violence?

Why not use SQL instead of GraphQL?

How to report a triplet of septets in NMR tabulation?

If two metric spaces are topologically equivalent (homeomorphic) imply that they are complete?

Pronouncing Dictionary.com's W.O.D "vade mecum" in English

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

"which" command doesn't work / path of Safari?

strToHex ( string to its hex representation as string)

Why is an old chain unsafe?

The magic money tree problem

A function which translates a sentence to title-case

Writing rule which states that two causes for the same superpower is bad writing

Is there really no realistic way for a skeleton monster to move around without magic?

Basic combinations logic doubt in probability

Infinite past with a beginning?

Can a German sentence have two subjects?

Prevent a directory in /tmp from being deleted

What are these boxed doors outside store fronts in New York?

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

Do Phineas and Ferb ever actually get busted in real time?



Error including four figures in a column with IEEETran class


How to insert subfigure with caption in IEEE trans?Writing big block matrix in double column using IEEEtran classAlignment issue with bibtex using IEEEtran classIEEEtran and subfig - figures overflow onto second columnTwo-column figures not displaying in IEEEtran document classProblem running document with IEEEtran classsubfig captions messed up in IEEEtran classIEEETran and floating two column picturesKeep Figures RIGHT AFTER textError with figure spanning double column in IEEEtranForce double column figure location in IEEETran













0















I am trying to include 4 figures arranged 2figs x 2figs in a column like this



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage[compress]{cite}
usepackage{times} % Font Times New Roman throughout the document
usepackage{subfigure}
usepackage{epsfig}
usepackage{amsmath,amssymb,amsfonts}
usepackage{array}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{tikz,pgfplots}
usepackage{adjustbox}
pgfplotsset{compat=1.14}
usepgfplotslibrary{patchplots}
usepgfplotslibrary{fillbetween}
usepackage{caption}
usetikzlibrary{arrows.meta}
usepackage{graphicx,subfigure}
usepackage{float}
usepackage{url}

usepackage{mathtools}
DeclarePairedDelimiterceil{lceil}{rceil}
DeclarePairedDelimiterfloor{lfloor}{rfloor}

newcommand{prob}[1]{p(#1)}
%newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
newcommand*overbar[1]{overline{#1}}
newcommand{hull}[1]{mbox{$<$$#1$$>$}}
newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
letoldemptysetemptyset
letemptysetvarnothing


defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

usepackage{textcomp}
usepackage{xcolor}

usetikzlibrary{arrows,automata,positioning}
% usepackage{subcaption}


begin{document}
ñlakdfñlakdjfñlakdjfñlkjls
´ñsdfádjñlakdjñlakdjñlakdjñalkdjf

begin{figure}[t!]
centering
begin{minipage}{1linewidth}
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/Q4_c.eps}
caption{{Q=4, #tags=100}}
label{fig:subfigure1}
end{subfigure}
hfill
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/Q4Poiss_c.eps}
caption{{Q=4, $lambda=100$}}
label{fig:subfigure2}
end{subfigure}
vskipbaselineskip
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/DFSA_c.eps}
caption{{DFSA, #tags{=}100}}
label{fig:subfigure3}
end{subfigure}
hfill
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/DFSAPoiss_c.eps}
caption{{DFSA, $lambda{=1}00$}}
label{fig:subfigure4}
end{subfigure}
caption{Probability of block identification.}
label{fig:contour4}
end{minipage}
end{figure}

ñlakdñlkajdfñlkajdñflkjañldskjf
asdklfñlakdjlakjdñlakdjf
ñlkasdjfñlakdjfñakdjñlaksdjf
end{document}


but it gives error compiling Latex Error: ./test.tex:76 Missing number, treated as zero..



If I remove the {0.48linewidth}the compilation goes fine, but the figures are placed one below the other.



I would like to get this result



enter image description here



What am I missing? How could I fix this?



Regards



EDIT



I have also tried:



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage[compress]{cite}
usepackage{times} % Font Times New Roman throughout the document
usepackage{subfigure}
usepackage{epsfig}
usepackage{amsmath,amssymb,amsfonts}
usepackage{array}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{tikz,pgfplots}
usepackage{adjustbox}
pgfplotsset{compat=1.14}
usepgfplotslibrary{patchplots}
usepgfplotslibrary{fillbetween}
usepackage{caption}
usetikzlibrary{arrows.meta}
usepackage{graphicx}
usepackage{float}
usepackage{url}

usepackage[caption=false]{subfig}

usepackage{mathtools}
DeclarePairedDelimiterceil{lceil}{rceil}
DeclarePairedDelimiterfloor{lfloor}{rfloor}

newcommand{prob}[1]{p(#1)}
%newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
newcommand*overbar[1]{overline{#1}}
newcommand{hull}[1]{mbox{$<$$#1$$>$}}
newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
letoldemptysetemptyset
letemptysetvarnothing


defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

usepackage{textcomp}
usepackage{xcolor}

usetikzlibrary{arrows,automata,positioning}
% usepackage{subcaption}


begin{document}
ñlakdfñlakdjfñlakdjfñlkjls
´ñsdfádjñlakdjñlakdjñlakdjñalkdjf



begin{figure}
centering
subfloat[alabel{1a}]{%
includegraphics[width=0.48linewidth]{figs/Q4_c.eps}}
hfill
subfloat[blabel{1b}]{%
includegraphics[width=0.48linewidth]{figs/Q4Poiss_c.eps}}
\
subfloat[clabel{1c}]{%
includegraphics[width=0.48linewidth]{figs/DFSA_c.eps}}
hfill
subfloat[dlabel{1d}]{%
includegraphics[width=0.48linewidth]{figs/DFSAPoiss_c.eps}}
caption{(a), (b) Some examples from CIFAR-10 cite{4}. Tmages.}
label{fig1}
end{figure}

ñlakdñlkajdfñlkajdñflkjañldskjf
asdklfñlakdjlakjdñlakdjf
ñlkasdjfñlakdjfñakdjñlaksdjf
end{document}


with latex gives



enter image description here



and with pdflatex



it does not show any document and gives errors:



enter image description here










share|improve this question

























  • unrelated but don't load the epsfig package unless you need to emulate documents from the 1980s using the psfig syntax.

    – David Carlisle
    8 hours ago











  • @DavidCarlisle thank you for the comment. I would not load epsfig. Thanks.

    – user1993416
    8 hours ago






  • 2





    @user1993416: The subfigure package is deprecated. You could either use subfig or the subcaption package instead.

    – leandriis
    8 hours ago






  • 1





    Maybe help : tex.stackexchange.com/a/305492/31034

    – ferahfeza
    8 hours ago






  • 1





    Did you compile with usepackage{epsfig} or without usepackage{epsfig} in your code? Without it seems to compile with example-image-a.eps, but of course there could still be a problem with your used images ...

    – Kurt
    6 hours ago
















0















I am trying to include 4 figures arranged 2figs x 2figs in a column like this



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage[compress]{cite}
usepackage{times} % Font Times New Roman throughout the document
usepackage{subfigure}
usepackage{epsfig}
usepackage{amsmath,amssymb,amsfonts}
usepackage{array}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{tikz,pgfplots}
usepackage{adjustbox}
pgfplotsset{compat=1.14}
usepgfplotslibrary{patchplots}
usepgfplotslibrary{fillbetween}
usepackage{caption}
usetikzlibrary{arrows.meta}
usepackage{graphicx,subfigure}
usepackage{float}
usepackage{url}

usepackage{mathtools}
DeclarePairedDelimiterceil{lceil}{rceil}
DeclarePairedDelimiterfloor{lfloor}{rfloor}

newcommand{prob}[1]{p(#1)}
%newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
newcommand*overbar[1]{overline{#1}}
newcommand{hull}[1]{mbox{$<$$#1$$>$}}
newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
letoldemptysetemptyset
letemptysetvarnothing


defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

usepackage{textcomp}
usepackage{xcolor}

usetikzlibrary{arrows,automata,positioning}
% usepackage{subcaption}


begin{document}
ñlakdfñlakdjfñlakdjfñlkjls
´ñsdfádjñlakdjñlakdjñlakdjñalkdjf

begin{figure}[t!]
centering
begin{minipage}{1linewidth}
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/Q4_c.eps}
caption{{Q=4, #tags=100}}
label{fig:subfigure1}
end{subfigure}
hfill
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/Q4Poiss_c.eps}
caption{{Q=4, $lambda=100$}}
label{fig:subfigure2}
end{subfigure}
vskipbaselineskip
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/DFSA_c.eps}
caption{{DFSA, #tags{=}100}}
label{fig:subfigure3}
end{subfigure}
hfill
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/DFSAPoiss_c.eps}
caption{{DFSA, $lambda{=1}00$}}
label{fig:subfigure4}
end{subfigure}
caption{Probability of block identification.}
label{fig:contour4}
end{minipage}
end{figure}

ñlakdñlkajdfñlkajdñflkjañldskjf
asdklfñlakdjlakjdñlakdjf
ñlkasdjfñlakdjfñakdjñlaksdjf
end{document}


but it gives error compiling Latex Error: ./test.tex:76 Missing number, treated as zero..



If I remove the {0.48linewidth}the compilation goes fine, but the figures are placed one below the other.



I would like to get this result



enter image description here



What am I missing? How could I fix this?



Regards



EDIT



I have also tried:



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage[compress]{cite}
usepackage{times} % Font Times New Roman throughout the document
usepackage{subfigure}
usepackage{epsfig}
usepackage{amsmath,amssymb,amsfonts}
usepackage{array}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{tikz,pgfplots}
usepackage{adjustbox}
pgfplotsset{compat=1.14}
usepgfplotslibrary{patchplots}
usepgfplotslibrary{fillbetween}
usepackage{caption}
usetikzlibrary{arrows.meta}
usepackage{graphicx}
usepackage{float}
usepackage{url}

usepackage[caption=false]{subfig}

usepackage{mathtools}
DeclarePairedDelimiterceil{lceil}{rceil}
DeclarePairedDelimiterfloor{lfloor}{rfloor}

newcommand{prob}[1]{p(#1)}
%newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
newcommand*overbar[1]{overline{#1}}
newcommand{hull}[1]{mbox{$<$$#1$$>$}}
newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
letoldemptysetemptyset
letemptysetvarnothing


defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

usepackage{textcomp}
usepackage{xcolor}

usetikzlibrary{arrows,automata,positioning}
% usepackage{subcaption}


begin{document}
ñlakdfñlakdjfñlakdjfñlkjls
´ñsdfádjñlakdjñlakdjñlakdjñalkdjf



begin{figure}
centering
subfloat[alabel{1a}]{%
includegraphics[width=0.48linewidth]{figs/Q4_c.eps}}
hfill
subfloat[blabel{1b}]{%
includegraphics[width=0.48linewidth]{figs/Q4Poiss_c.eps}}
\
subfloat[clabel{1c}]{%
includegraphics[width=0.48linewidth]{figs/DFSA_c.eps}}
hfill
subfloat[dlabel{1d}]{%
includegraphics[width=0.48linewidth]{figs/DFSAPoiss_c.eps}}
caption{(a), (b) Some examples from CIFAR-10 cite{4}. Tmages.}
label{fig1}
end{figure}

ñlakdñlkajdfñlkajdñflkjañldskjf
asdklfñlakdjlakjdñlakdjf
ñlkasdjfñlakdjfñakdjñlaksdjf
end{document}


with latex gives



enter image description here



and with pdflatex



it does not show any document and gives errors:



enter image description here










share|improve this question

























  • unrelated but don't load the epsfig package unless you need to emulate documents from the 1980s using the psfig syntax.

    – David Carlisle
    8 hours ago











  • @DavidCarlisle thank you for the comment. I would not load epsfig. Thanks.

    – user1993416
    8 hours ago






  • 2





    @user1993416: The subfigure package is deprecated. You could either use subfig or the subcaption package instead.

    – leandriis
    8 hours ago






  • 1





    Maybe help : tex.stackexchange.com/a/305492/31034

    – ferahfeza
    8 hours ago






  • 1





    Did you compile with usepackage{epsfig} or without usepackage{epsfig} in your code? Without it seems to compile with example-image-a.eps, but of course there could still be a problem with your used images ...

    – Kurt
    6 hours ago














0












0








0








I am trying to include 4 figures arranged 2figs x 2figs in a column like this



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage[compress]{cite}
usepackage{times} % Font Times New Roman throughout the document
usepackage{subfigure}
usepackage{epsfig}
usepackage{amsmath,amssymb,amsfonts}
usepackage{array}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{tikz,pgfplots}
usepackage{adjustbox}
pgfplotsset{compat=1.14}
usepgfplotslibrary{patchplots}
usepgfplotslibrary{fillbetween}
usepackage{caption}
usetikzlibrary{arrows.meta}
usepackage{graphicx,subfigure}
usepackage{float}
usepackage{url}

usepackage{mathtools}
DeclarePairedDelimiterceil{lceil}{rceil}
DeclarePairedDelimiterfloor{lfloor}{rfloor}

newcommand{prob}[1]{p(#1)}
%newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
newcommand*overbar[1]{overline{#1}}
newcommand{hull}[1]{mbox{$<$$#1$$>$}}
newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
letoldemptysetemptyset
letemptysetvarnothing


defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

usepackage{textcomp}
usepackage{xcolor}

usetikzlibrary{arrows,automata,positioning}
% usepackage{subcaption}


begin{document}
ñlakdfñlakdjfñlakdjfñlkjls
´ñsdfádjñlakdjñlakdjñlakdjñalkdjf

begin{figure}[t!]
centering
begin{minipage}{1linewidth}
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/Q4_c.eps}
caption{{Q=4, #tags=100}}
label{fig:subfigure1}
end{subfigure}
hfill
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/Q4Poiss_c.eps}
caption{{Q=4, $lambda=100$}}
label{fig:subfigure2}
end{subfigure}
vskipbaselineskip
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/DFSA_c.eps}
caption{{DFSA, #tags{=}100}}
label{fig:subfigure3}
end{subfigure}
hfill
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/DFSAPoiss_c.eps}
caption{{DFSA, $lambda{=1}00$}}
label{fig:subfigure4}
end{subfigure}
caption{Probability of block identification.}
label{fig:contour4}
end{minipage}
end{figure}

ñlakdñlkajdfñlkajdñflkjañldskjf
asdklfñlakdjlakjdñlakdjf
ñlkasdjfñlakdjfñakdjñlaksdjf
end{document}


but it gives error compiling Latex Error: ./test.tex:76 Missing number, treated as zero..



If I remove the {0.48linewidth}the compilation goes fine, but the figures are placed one below the other.



I would like to get this result



enter image description here



What am I missing? How could I fix this?



Regards



EDIT



I have also tried:



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage[compress]{cite}
usepackage{times} % Font Times New Roman throughout the document
usepackage{subfigure}
usepackage{epsfig}
usepackage{amsmath,amssymb,amsfonts}
usepackage{array}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{tikz,pgfplots}
usepackage{adjustbox}
pgfplotsset{compat=1.14}
usepgfplotslibrary{patchplots}
usepgfplotslibrary{fillbetween}
usepackage{caption}
usetikzlibrary{arrows.meta}
usepackage{graphicx}
usepackage{float}
usepackage{url}

usepackage[caption=false]{subfig}

usepackage{mathtools}
DeclarePairedDelimiterceil{lceil}{rceil}
DeclarePairedDelimiterfloor{lfloor}{rfloor}

newcommand{prob}[1]{p(#1)}
%newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
newcommand*overbar[1]{overline{#1}}
newcommand{hull}[1]{mbox{$<$$#1$$>$}}
newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
letoldemptysetemptyset
letemptysetvarnothing


defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

usepackage{textcomp}
usepackage{xcolor}

usetikzlibrary{arrows,automata,positioning}
% usepackage{subcaption}


begin{document}
ñlakdfñlakdjfñlakdjfñlkjls
´ñsdfádjñlakdjñlakdjñlakdjñalkdjf



begin{figure}
centering
subfloat[alabel{1a}]{%
includegraphics[width=0.48linewidth]{figs/Q4_c.eps}}
hfill
subfloat[blabel{1b}]{%
includegraphics[width=0.48linewidth]{figs/Q4Poiss_c.eps}}
\
subfloat[clabel{1c}]{%
includegraphics[width=0.48linewidth]{figs/DFSA_c.eps}}
hfill
subfloat[dlabel{1d}]{%
includegraphics[width=0.48linewidth]{figs/DFSAPoiss_c.eps}}
caption{(a), (b) Some examples from CIFAR-10 cite{4}. Tmages.}
label{fig1}
end{figure}

ñlakdñlkajdfñlkajdñflkjañldskjf
asdklfñlakdjlakjdñlakdjf
ñlkasdjfñlakdjfñakdjñlaksdjf
end{document}


with latex gives



enter image description here



and with pdflatex



it does not show any document and gives errors:



enter image description here










share|improve this question
















I am trying to include 4 figures arranged 2figs x 2figs in a column like this



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage[compress]{cite}
usepackage{times} % Font Times New Roman throughout the document
usepackage{subfigure}
usepackage{epsfig}
usepackage{amsmath,amssymb,amsfonts}
usepackage{array}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{tikz,pgfplots}
usepackage{adjustbox}
pgfplotsset{compat=1.14}
usepgfplotslibrary{patchplots}
usepgfplotslibrary{fillbetween}
usepackage{caption}
usetikzlibrary{arrows.meta}
usepackage{graphicx,subfigure}
usepackage{float}
usepackage{url}

usepackage{mathtools}
DeclarePairedDelimiterceil{lceil}{rceil}
DeclarePairedDelimiterfloor{lfloor}{rfloor}

newcommand{prob}[1]{p(#1)}
%newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
newcommand*overbar[1]{overline{#1}}
newcommand{hull}[1]{mbox{$<$$#1$$>$}}
newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
letoldemptysetemptyset
letemptysetvarnothing


defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

usepackage{textcomp}
usepackage{xcolor}

usetikzlibrary{arrows,automata,positioning}
% usepackage{subcaption}


begin{document}
ñlakdfñlakdjfñlakdjfñlkjls
´ñsdfádjñlakdjñlakdjñlakdjñalkdjf

begin{figure}[t!]
centering
begin{minipage}{1linewidth}
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/Q4_c.eps}
caption{{Q=4, #tags=100}}
label{fig:subfigure1}
end{subfigure}
hfill
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/Q4Poiss_c.eps}
caption{{Q=4, $lambda=100$}}
label{fig:subfigure2}
end{subfigure}
vskipbaselineskip
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/DFSA_c.eps}
caption{{DFSA, #tags{=}100}}
label{fig:subfigure3}
end{subfigure}
hfill
begin{subfigure}[b]{0.48linewidth}
centering
includegraphics[width=linewidth]{figs/DFSAPoiss_c.eps}
caption{{DFSA, $lambda{=1}00$}}
label{fig:subfigure4}
end{subfigure}
caption{Probability of block identification.}
label{fig:contour4}
end{minipage}
end{figure}

ñlakdñlkajdfñlkajdñflkjañldskjf
asdklfñlakdjlakjdñlakdjf
ñlkasdjfñlakdjfñakdjñlaksdjf
end{document}


but it gives error compiling Latex Error: ./test.tex:76 Missing number, treated as zero..



If I remove the {0.48linewidth}the compilation goes fine, but the figures are placed one below the other.



I would like to get this result



enter image description here



What am I missing? How could I fix this?



Regards



EDIT



I have also tried:



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage[compress]{cite}
usepackage{times} % Font Times New Roman throughout the document
usepackage{subfigure}
usepackage{epsfig}
usepackage{amsmath,amssymb,amsfonts}
usepackage{array}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{tikz,pgfplots}
usepackage{adjustbox}
pgfplotsset{compat=1.14}
usepgfplotslibrary{patchplots}
usepgfplotslibrary{fillbetween}
usepackage{caption}
usetikzlibrary{arrows.meta}
usepackage{graphicx}
usepackage{float}
usepackage{url}

usepackage[caption=false]{subfig}

usepackage{mathtools}
DeclarePairedDelimiterceil{lceil}{rceil}
DeclarePairedDelimiterfloor{lfloor}{rfloor}

newcommand{prob}[1]{p(#1)}
%newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
newcommand*overbar[1]{overline{#1}}
newcommand{hull}[1]{mbox{$<$$#1$$>$}}
newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
letoldemptysetemptyset
letemptysetvarnothing


defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

usepackage{textcomp}
usepackage{xcolor}

usetikzlibrary{arrows,automata,positioning}
% usepackage{subcaption}


begin{document}
ñlakdfñlakdjfñlakdjfñlkjls
´ñsdfádjñlakdjñlakdjñlakdjñalkdjf



begin{figure}
centering
subfloat[alabel{1a}]{%
includegraphics[width=0.48linewidth]{figs/Q4_c.eps}}
hfill
subfloat[blabel{1b}]{%
includegraphics[width=0.48linewidth]{figs/Q4Poiss_c.eps}}
\
subfloat[clabel{1c}]{%
includegraphics[width=0.48linewidth]{figs/DFSA_c.eps}}
hfill
subfloat[dlabel{1d}]{%
includegraphics[width=0.48linewidth]{figs/DFSAPoiss_c.eps}}
caption{(a), (b) Some examples from CIFAR-10 cite{4}. Tmages.}
label{fig1}
end{figure}

ñlakdñlkajdfñlkajdñflkjañldskjf
asdklfñlakdjlakjdñlakdjf
ñlkasdjfñlakdjfñakdjñlaksdjf
end{document}


with latex gives



enter image description here



and with pdflatex



it does not show any document and gives errors:



enter image description here







floats subfloats ieeetran






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 7 hours ago









Kurt

40.9k950164




40.9k950164










asked 8 hours ago









user1993416user1993416

319110




319110













  • unrelated but don't load the epsfig package unless you need to emulate documents from the 1980s using the psfig syntax.

    – David Carlisle
    8 hours ago











  • @DavidCarlisle thank you for the comment. I would not load epsfig. Thanks.

    – user1993416
    8 hours ago






  • 2





    @user1993416: The subfigure package is deprecated. You could either use subfig or the subcaption package instead.

    – leandriis
    8 hours ago






  • 1





    Maybe help : tex.stackexchange.com/a/305492/31034

    – ferahfeza
    8 hours ago






  • 1





    Did you compile with usepackage{epsfig} or without usepackage{epsfig} in your code? Without it seems to compile with example-image-a.eps, but of course there could still be a problem with your used images ...

    – Kurt
    6 hours ago



















  • unrelated but don't load the epsfig package unless you need to emulate documents from the 1980s using the psfig syntax.

    – David Carlisle
    8 hours ago











  • @DavidCarlisle thank you for the comment. I would not load epsfig. Thanks.

    – user1993416
    8 hours ago






  • 2





    @user1993416: The subfigure package is deprecated. You could either use subfig or the subcaption package instead.

    – leandriis
    8 hours ago






  • 1





    Maybe help : tex.stackexchange.com/a/305492/31034

    – ferahfeza
    8 hours ago






  • 1





    Did you compile with usepackage{epsfig} or without usepackage{epsfig} in your code? Without it seems to compile with example-image-a.eps, but of course there could still be a problem with your used images ...

    – Kurt
    6 hours ago

















unrelated but don't load the epsfig package unless you need to emulate documents from the 1980s using the psfig syntax.

– David Carlisle
8 hours ago





unrelated but don't load the epsfig package unless you need to emulate documents from the 1980s using the psfig syntax.

– David Carlisle
8 hours ago













@DavidCarlisle thank you for the comment. I would not load epsfig. Thanks.

– user1993416
8 hours ago





@DavidCarlisle thank you for the comment. I would not load epsfig. Thanks.

– user1993416
8 hours ago




2




2





@user1993416: The subfigure package is deprecated. You could either use subfig or the subcaption package instead.

– leandriis
8 hours ago





@user1993416: The subfigure package is deprecated. You could either use subfig or the subcaption package instead.

– leandriis
8 hours ago




1




1





Maybe help : tex.stackexchange.com/a/305492/31034

– ferahfeza
8 hours ago





Maybe help : tex.stackexchange.com/a/305492/31034

– ferahfeza
8 hours ago




1




1





Did you compile with usepackage{epsfig} or without usepackage{epsfig} in your code? Without it seems to compile with example-image-a.eps, but of course there could still be a problem with your used images ...

– Kurt
6 hours ago





Did you compile with usepackage{epsfig} or without usepackage{epsfig} in your code? Without it seems to compile with example-image-a.eps, but of course there could still be a problem with your used images ...

– Kurt
6 hours ago










1 Answer
1






active

oldest

votes


















1














Following code works for me using subfig package instead of subfigure.



documentclass[conference]{IEEEtran}
IEEEoverridecommandlockouts
usepackage[compress]{cite}
usepackage{times} % Font Times New Roman throughout the document
%usepackage{subfigure}
usepackage{epsfig}
usepackage{amsmath,amssymb,amsfonts}
usepackage{array}
usepackage{algorithm}
usepackage{algorithmic}
usepackage{tikz,pgfplots}
usepackage{adjustbox}
pgfplotsset{compat=1.14}
usepgfplotslibrary{patchplots}
usepgfplotslibrary{fillbetween}
usepackage{caption}
usetikzlibrary{arrows.meta}
%usepackage{graphicx,subfigure}
usepackage{float}
usepackage{lipsum}
usepackage{url}

usepackage{mathtools}
DeclarePairedDelimiterceil{lceil}{rceil}
DeclarePairedDelimiterfloor{lfloor}{rfloor}

newcommand{prob}[1]{p(#1)}
%newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
newcommand*overbar[1]{overline{#1}}
newcommand{hull}[1]{mbox{$<$$#1$$>$}}
newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
letoldemptysetemptyset
letemptysetvarnothing


defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

usepackage{textcomp}
usepackage{xcolor}

usetikzlibrary{arrows,automata,positioning}
% usepackage{subcaption}
ifCLASSOPTIONcompsoc
usepackage[caption=false, font=normalsize, labelfont=sf, textfont=sf]{subfig}
else
usepackage[caption=false, font=footnotesize]{subfig}
fi


begin{document}
ñlakdfñlakdjfñlakdjfñlkjls
´ñsdfádjñlakdjñlakdjñlakdjñalkdjf

begin{figure}
centering
subfloat[Q=4, #tags=100label{1a}]{%
includegraphics[width=0.45linewidth]{example-image}}
hfill
subfloat[Q=4, $lambda=100$label{1b}]{%
includegraphics[width=0.45linewidth]{example-image}}
\
subfloat[DFSA, #tags{=}100label{1c}]{%
includegraphics[width=0.45linewidth]{example-image}}
hfill
subfloat[DFSA, $lambda{=1}00$label{1d}]{%
includegraphics[width=0.45linewidth]{example-image}}
caption{Probability of block identification.}
label{fig1}
end{figure}
lipsum[1-5]

ñlakdñlkajdfñlkajdñflkjañldskjf
asdklfñlakdjlakjdñlakdjf
ñlkasdjfñlakdjfñakdjñlaksdjf
end{document}


enter image description here






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483650%2ferror-including-four-figures-in-a-column-with-ieeetran-class%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Following code works for me using subfig package instead of subfigure.



    documentclass[conference]{IEEEtran}
    IEEEoverridecommandlockouts
    usepackage[compress]{cite}
    usepackage{times} % Font Times New Roman throughout the document
    %usepackage{subfigure}
    usepackage{epsfig}
    usepackage{amsmath,amssymb,amsfonts}
    usepackage{array}
    usepackage{algorithm}
    usepackage{algorithmic}
    usepackage{tikz,pgfplots}
    usepackage{adjustbox}
    pgfplotsset{compat=1.14}
    usepgfplotslibrary{patchplots}
    usepgfplotslibrary{fillbetween}
    usepackage{caption}
    usetikzlibrary{arrows.meta}
    %usepackage{graphicx,subfigure}
    usepackage{float}
    usepackage{lipsum}
    usepackage{url}

    usepackage{mathtools}
    DeclarePairedDelimiterceil{lceil}{rceil}
    DeclarePairedDelimiterfloor{lfloor}{rfloor}

    newcommand{prob}[1]{p(#1)}
    %newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
    newcommand*overbar[1]{overline{#1}}
    newcommand{hull}[1]{mbox{$<$$#1$$>$}}
    newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
    letoldemptysetemptyset
    letemptysetvarnothing


    defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
    Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

    usepackage{textcomp}
    usepackage{xcolor}

    usetikzlibrary{arrows,automata,positioning}
    % usepackage{subcaption}
    ifCLASSOPTIONcompsoc
    usepackage[caption=false, font=normalsize, labelfont=sf, textfont=sf]{subfig}
    else
    usepackage[caption=false, font=footnotesize]{subfig}
    fi


    begin{document}
    ñlakdfñlakdjfñlakdjfñlkjls
    ´ñsdfádjñlakdjñlakdjñlakdjñalkdjf

    begin{figure}
    centering
    subfloat[Q=4, #tags=100label{1a}]{%
    includegraphics[width=0.45linewidth]{example-image}}
    hfill
    subfloat[Q=4, $lambda=100$label{1b}]{%
    includegraphics[width=0.45linewidth]{example-image}}
    \
    subfloat[DFSA, #tags{=}100label{1c}]{%
    includegraphics[width=0.45linewidth]{example-image}}
    hfill
    subfloat[DFSA, $lambda{=1}00$label{1d}]{%
    includegraphics[width=0.45linewidth]{example-image}}
    caption{Probability of block identification.}
    label{fig1}
    end{figure}
    lipsum[1-5]

    ñlakdñlkajdfñlkajdñflkjañldskjf
    asdklfñlakdjlakjdñlakdjf
    ñlkasdjfñlakdjfñakdjñlaksdjf
    end{document}


    enter image description here






    share|improve this answer




























      1














      Following code works for me using subfig package instead of subfigure.



      documentclass[conference]{IEEEtran}
      IEEEoverridecommandlockouts
      usepackage[compress]{cite}
      usepackage{times} % Font Times New Roman throughout the document
      %usepackage{subfigure}
      usepackage{epsfig}
      usepackage{amsmath,amssymb,amsfonts}
      usepackage{array}
      usepackage{algorithm}
      usepackage{algorithmic}
      usepackage{tikz,pgfplots}
      usepackage{adjustbox}
      pgfplotsset{compat=1.14}
      usepgfplotslibrary{patchplots}
      usepgfplotslibrary{fillbetween}
      usepackage{caption}
      usetikzlibrary{arrows.meta}
      %usepackage{graphicx,subfigure}
      usepackage{float}
      usepackage{lipsum}
      usepackage{url}

      usepackage{mathtools}
      DeclarePairedDelimiterceil{lceil}{rceil}
      DeclarePairedDelimiterfloor{lfloor}{rfloor}

      newcommand{prob}[1]{p(#1)}
      %newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
      newcommand*overbar[1]{overline{#1}}
      newcommand{hull}[1]{mbox{$<$$#1$$>$}}
      newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
      letoldemptysetemptyset
      letemptysetvarnothing


      defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
      Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

      usepackage{textcomp}
      usepackage{xcolor}

      usetikzlibrary{arrows,automata,positioning}
      % usepackage{subcaption}
      ifCLASSOPTIONcompsoc
      usepackage[caption=false, font=normalsize, labelfont=sf, textfont=sf]{subfig}
      else
      usepackage[caption=false, font=footnotesize]{subfig}
      fi


      begin{document}
      ñlakdfñlakdjfñlakdjfñlkjls
      ´ñsdfádjñlakdjñlakdjñlakdjñalkdjf

      begin{figure}
      centering
      subfloat[Q=4, #tags=100label{1a}]{%
      includegraphics[width=0.45linewidth]{example-image}}
      hfill
      subfloat[Q=4, $lambda=100$label{1b}]{%
      includegraphics[width=0.45linewidth]{example-image}}
      \
      subfloat[DFSA, #tags{=}100label{1c}]{%
      includegraphics[width=0.45linewidth]{example-image}}
      hfill
      subfloat[DFSA, $lambda{=1}00$label{1d}]{%
      includegraphics[width=0.45linewidth]{example-image}}
      caption{Probability of block identification.}
      label{fig1}
      end{figure}
      lipsum[1-5]

      ñlakdñlkajdfñlkajdñflkjañldskjf
      asdklfñlakdjlakjdñlakdjf
      ñlkasdjfñlakdjfñakdjñlaksdjf
      end{document}


      enter image description here






      share|improve this answer


























        1












        1








        1







        Following code works for me using subfig package instead of subfigure.



        documentclass[conference]{IEEEtran}
        IEEEoverridecommandlockouts
        usepackage[compress]{cite}
        usepackage{times} % Font Times New Roman throughout the document
        %usepackage{subfigure}
        usepackage{epsfig}
        usepackage{amsmath,amssymb,amsfonts}
        usepackage{array}
        usepackage{algorithm}
        usepackage{algorithmic}
        usepackage{tikz,pgfplots}
        usepackage{adjustbox}
        pgfplotsset{compat=1.14}
        usepgfplotslibrary{patchplots}
        usepgfplotslibrary{fillbetween}
        usepackage{caption}
        usetikzlibrary{arrows.meta}
        %usepackage{graphicx,subfigure}
        usepackage{float}
        usepackage{lipsum}
        usepackage{url}

        usepackage{mathtools}
        DeclarePairedDelimiterceil{lceil}{rceil}
        DeclarePairedDelimiterfloor{lfloor}{rfloor}

        newcommand{prob}[1]{p(#1)}
        %newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
        newcommand*overbar[1]{overline{#1}}
        newcommand{hull}[1]{mbox{$<$$#1$$>$}}
        newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
        letoldemptysetemptyset
        letemptysetvarnothing


        defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
        Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

        usepackage{textcomp}
        usepackage{xcolor}

        usetikzlibrary{arrows,automata,positioning}
        % usepackage{subcaption}
        ifCLASSOPTIONcompsoc
        usepackage[caption=false, font=normalsize, labelfont=sf, textfont=sf]{subfig}
        else
        usepackage[caption=false, font=footnotesize]{subfig}
        fi


        begin{document}
        ñlakdfñlakdjfñlakdjfñlkjls
        ´ñsdfádjñlakdjñlakdjñlakdjñalkdjf

        begin{figure}
        centering
        subfloat[Q=4, #tags=100label{1a}]{%
        includegraphics[width=0.45linewidth]{example-image}}
        hfill
        subfloat[Q=4, $lambda=100$label{1b}]{%
        includegraphics[width=0.45linewidth]{example-image}}
        \
        subfloat[DFSA, #tags{=}100label{1c}]{%
        includegraphics[width=0.45linewidth]{example-image}}
        hfill
        subfloat[DFSA, $lambda{=1}00$label{1d}]{%
        includegraphics[width=0.45linewidth]{example-image}}
        caption{Probability of block identification.}
        label{fig1}
        end{figure}
        lipsum[1-5]

        ñlakdñlkajdfñlkajdñflkjañldskjf
        asdklfñlakdjlakjdñlakdjf
        ñlkasdjfñlakdjfñakdjñlaksdjf
        end{document}


        enter image description here






        share|improve this answer













        Following code works for me using subfig package instead of subfigure.



        documentclass[conference]{IEEEtran}
        IEEEoverridecommandlockouts
        usepackage[compress]{cite}
        usepackage{times} % Font Times New Roman throughout the document
        %usepackage{subfigure}
        usepackage{epsfig}
        usepackage{amsmath,amssymb,amsfonts}
        usepackage{array}
        usepackage{algorithm}
        usepackage{algorithmic}
        usepackage{tikz,pgfplots}
        usepackage{adjustbox}
        pgfplotsset{compat=1.14}
        usepgfplotslibrary{patchplots}
        usepgfplotslibrary{fillbetween}
        usepackage{caption}
        usetikzlibrary{arrows.meta}
        %usepackage{graphicx,subfigure}
        usepackage{float}
        usepackage{lipsum}
        usepackage{url}

        usepackage{mathtools}
        DeclarePairedDelimiterceil{lceil}{rceil}
        DeclarePairedDelimiterfloor{lfloor}{rfloor}

        newcommand{prob}[1]{p(#1)}
        %newcommand{overbar}[1]{mkern 1.5muoverline{mkern-1.5mu#1mkern-1.5mu}mkern 1.5mu}
        newcommand*overbar[1]{overline{#1}}
        newcommand{hull}[1]{mbox{$<$$#1$$>$}}
        newcommand{stext}[1]{{scriptscriptstyle text{#1}}}
        letoldemptysetemptyset
        letemptysetvarnothing


        defBibTeX{{rm Bkern-.05em{sc ikern-.025em b}kern-.08em
        Tkern-.1667emlower.7exhbox{E}kern-.125emX}}

        usepackage{textcomp}
        usepackage{xcolor}

        usetikzlibrary{arrows,automata,positioning}
        % usepackage{subcaption}
        ifCLASSOPTIONcompsoc
        usepackage[caption=false, font=normalsize, labelfont=sf, textfont=sf]{subfig}
        else
        usepackage[caption=false, font=footnotesize]{subfig}
        fi


        begin{document}
        ñlakdfñlakdjfñlakdjfñlkjls
        ´ñsdfádjñlakdjñlakdjñlakdjñalkdjf

        begin{figure}
        centering
        subfloat[Q=4, #tags=100label{1a}]{%
        includegraphics[width=0.45linewidth]{example-image}}
        hfill
        subfloat[Q=4, $lambda=100$label{1b}]{%
        includegraphics[width=0.45linewidth]{example-image}}
        \
        subfloat[DFSA, #tags{=}100label{1c}]{%
        includegraphics[width=0.45linewidth]{example-image}}
        hfill
        subfloat[DFSA, $lambda{=1}00$label{1d}]{%
        includegraphics[width=0.45linewidth]{example-image}}
        caption{Probability of block identification.}
        label{fig1}
        end{figure}
        lipsum[1-5]

        ñlakdñlkajdfñlkajdñflkjañldskjf
        asdklfñlakdjlakjdñlakdjf
        ñlkasdjfñlakdjfñakdjñlaksdjf
        end{document}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 7 hours ago









        ferahfezaferahfeza

        7,40411933




        7,40411933






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483650%2ferror-including-four-figures-in-a-column-with-ieeetran-class%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

            Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

            Castillo d'Acher Características Menú de navegación