How to use subfig package in articleclass: spieman?
up vote
2
down vote
favorite
I am using class article spieman to prepare my document. However, I am not able to use subfig package. Can anybody guide me about splitting a figure window into the multiple figures in articleclass spieman?
Sample code is pasted below and screenshot of the error message is attached herewith. Please help.
documentclass[12pt]{spieman} % 12pt font required by SPIE;
usepackage{graphicx}
usepackage{subfig}
usepackage{setspace}
%onehalfspacing
usepackage{tocloft}
title{Sample Paper}
author[a]{Samadhan }
renewcommand{cftdotsep}{cftnodots}
cftpagenumbersoff{figure}
cftpagenumbersoff{table}
begin{document}
maketitle
begin{abstract}
end{abstract}
keywords{a,b,c}
begin{spacing}{1} % use double spacing for rest of manuscript
section{Introduction}
label{sect:intro} % label{} allows reference to this section
begin{figure}[!h]
begin{center}
graphicspath{{F:/Figures/spie_figures}}
subfloat[Original Multispectral ]{
includegraphics[width=60 mm, height=60 mm]{a.jpg}
}
subfloat[Subscene]{
includegraphics[width=60 mm, height=60 mm]{b.jpg}
}\
caption{original and processed dataset}
label{fig:fuse_Figure}
end{figure}
section{Conclusions}
listoffigures
listoftables
end{spacing}
end{document}
subfig
add a comment |
up vote
2
down vote
favorite
I am using class article spieman to prepare my document. However, I am not able to use subfig package. Can anybody guide me about splitting a figure window into the multiple figures in articleclass spieman?
Sample code is pasted below and screenshot of the error message is attached herewith. Please help.
documentclass[12pt]{spieman} % 12pt font required by SPIE;
usepackage{graphicx}
usepackage{subfig}
usepackage{setspace}
%onehalfspacing
usepackage{tocloft}
title{Sample Paper}
author[a]{Samadhan }
renewcommand{cftdotsep}{cftnodots}
cftpagenumbersoff{figure}
cftpagenumbersoff{table}
begin{document}
maketitle
begin{abstract}
end{abstract}
keywords{a,b,c}
begin{spacing}{1} % use double spacing for rest of manuscript
section{Introduction}
label{sect:intro} % label{} allows reference to this section
begin{figure}[!h]
begin{center}
graphicspath{{F:/Figures/spie_figures}}
subfloat[Original Multispectral ]{
includegraphics[width=60 mm, height=60 mm]{a.jpg}
}
subfloat[Subscene]{
includegraphics[width=60 mm, height=60 mm]{b.jpg}
}\
caption{original and processed dataset}
label{fig:fuse_Figure}
end{figure}
section{Conclusions}
listoffigures
listoftables
end{spacing}
end{document}
subfig
Where does the classspiemancomes from? Do you have a link? Please add the complete error message you get to your question (just copy it from your log file)!
– Kurt
Dec 2 at 20:55
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am using class article spieman to prepare my document. However, I am not able to use subfig package. Can anybody guide me about splitting a figure window into the multiple figures in articleclass spieman?
Sample code is pasted below and screenshot of the error message is attached herewith. Please help.
documentclass[12pt]{spieman} % 12pt font required by SPIE;
usepackage{graphicx}
usepackage{subfig}
usepackage{setspace}
%onehalfspacing
usepackage{tocloft}
title{Sample Paper}
author[a]{Samadhan }
renewcommand{cftdotsep}{cftnodots}
cftpagenumbersoff{figure}
cftpagenumbersoff{table}
begin{document}
maketitle
begin{abstract}
end{abstract}
keywords{a,b,c}
begin{spacing}{1} % use double spacing for rest of manuscript
section{Introduction}
label{sect:intro} % label{} allows reference to this section
begin{figure}[!h]
begin{center}
graphicspath{{F:/Figures/spie_figures}}
subfloat[Original Multispectral ]{
includegraphics[width=60 mm, height=60 mm]{a.jpg}
}
subfloat[Subscene]{
includegraphics[width=60 mm, height=60 mm]{b.jpg}
}\
caption{original and processed dataset}
label{fig:fuse_Figure}
end{figure}
section{Conclusions}
listoffigures
listoftables
end{spacing}
end{document}
subfig
I am using class article spieman to prepare my document. However, I am not able to use subfig package. Can anybody guide me about splitting a figure window into the multiple figures in articleclass spieman?
Sample code is pasted below and screenshot of the error message is attached herewith. Please help.
documentclass[12pt]{spieman} % 12pt font required by SPIE;
usepackage{graphicx}
usepackage{subfig}
usepackage{setspace}
%onehalfspacing
usepackage{tocloft}
title{Sample Paper}
author[a]{Samadhan }
renewcommand{cftdotsep}{cftnodots}
cftpagenumbersoff{figure}
cftpagenumbersoff{table}
begin{document}
maketitle
begin{abstract}
end{abstract}
keywords{a,b,c}
begin{spacing}{1} % use double spacing for rest of manuscript
section{Introduction}
label{sect:intro} % label{} allows reference to this section
begin{figure}[!h]
begin{center}
graphicspath{{F:/Figures/spie_figures}}
subfloat[Original Multispectral ]{
includegraphics[width=60 mm, height=60 mm]{a.jpg}
}
subfloat[Subscene]{
includegraphics[width=60 mm, height=60 mm]{b.jpg}
}\
caption{original and processed dataset}
label{fig:fuse_Figure}
end{figure}
section{Conclusions}
listoffigures
listoftables
end{spacing}
end{document}
subfig
subfig
edited Dec 2 at 20:49
AndréC
6,89711140
6,89711140
asked Dec 2 at 20:44
sckulkarni
713
713
Where does the classspiemancomes from? Do you have a link? Please add the complete error message you get to your question (just copy it from your log file)!
– Kurt
Dec 2 at 20:55
add a comment |
Where does the classspiemancomes from? Do you have a link? Please add the complete error message you get to your question (just copy it from your log file)!
– Kurt
Dec 2 at 20:55
Where does the class
spieman comes from? Do you have a link? Please add the complete error message you get to your question (just copy it from your log file)!– Kurt
Dec 2 at 20:55
Where does the class
spieman comes from? Do you have a link? Please add the complete error message you get to your question (just copy it from your log file)!– Kurt
Dec 2 at 20:55
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
A sample file for spieman.cls uses the deprecated subfigure package. You can and should use subfig, but with the caption=false option.
Here's an example.
I removed all setting about setspace and tocloft: the copy editors will not be happy at all if you customize the format they want.
Don't specify both width and height for images: this would likely distort them.
documentclass[12pt]{spieman} % 12pt font required by SPIE;
usepackage{graphicx}
usepackage[caption=false]{subfig}
title{Sample Paper}
author[a]{Samadhan}
begin{document}
maketitle
begin{abstract}
Abstract
end{abstract}
keywords{a,b,c}
section{Introduction}
label{sect:intro} % label{} allows reference to this section
begin{figure}[!htp]
centering
subfloat[Original Multispectral]{%
includegraphics[width=60mm]{example-image-a}%
}quad
subfloat[Subscene]{%
includegraphics[width=60 mm]{example-image-b}
}
caption{original and processed dataset}
label{fig:fuse_Figure}
end{figure}
section{Conclusions}
listoffigures
listoftables
end{document}

add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
A sample file for spieman.cls uses the deprecated subfigure package. You can and should use subfig, but with the caption=false option.
Here's an example.
I removed all setting about setspace and tocloft: the copy editors will not be happy at all if you customize the format they want.
Don't specify both width and height for images: this would likely distort them.
documentclass[12pt]{spieman} % 12pt font required by SPIE;
usepackage{graphicx}
usepackage[caption=false]{subfig}
title{Sample Paper}
author[a]{Samadhan}
begin{document}
maketitle
begin{abstract}
Abstract
end{abstract}
keywords{a,b,c}
section{Introduction}
label{sect:intro} % label{} allows reference to this section
begin{figure}[!htp]
centering
subfloat[Original Multispectral]{%
includegraphics[width=60mm]{example-image-a}%
}quad
subfloat[Subscene]{%
includegraphics[width=60 mm]{example-image-b}
}
caption{original and processed dataset}
label{fig:fuse_Figure}
end{figure}
section{Conclusions}
listoffigures
listoftables
end{document}

add a comment |
up vote
1
down vote
A sample file for spieman.cls uses the deprecated subfigure package. You can and should use subfig, but with the caption=false option.
Here's an example.
I removed all setting about setspace and tocloft: the copy editors will not be happy at all if you customize the format they want.
Don't specify both width and height for images: this would likely distort them.
documentclass[12pt]{spieman} % 12pt font required by SPIE;
usepackage{graphicx}
usepackage[caption=false]{subfig}
title{Sample Paper}
author[a]{Samadhan}
begin{document}
maketitle
begin{abstract}
Abstract
end{abstract}
keywords{a,b,c}
section{Introduction}
label{sect:intro} % label{} allows reference to this section
begin{figure}[!htp]
centering
subfloat[Original Multispectral]{%
includegraphics[width=60mm]{example-image-a}%
}quad
subfloat[Subscene]{%
includegraphics[width=60 mm]{example-image-b}
}
caption{original and processed dataset}
label{fig:fuse_Figure}
end{figure}
section{Conclusions}
listoffigures
listoftables
end{document}

add a comment |
up vote
1
down vote
up vote
1
down vote
A sample file for spieman.cls uses the deprecated subfigure package. You can and should use subfig, but with the caption=false option.
Here's an example.
I removed all setting about setspace and tocloft: the copy editors will not be happy at all if you customize the format they want.
Don't specify both width and height for images: this would likely distort them.
documentclass[12pt]{spieman} % 12pt font required by SPIE;
usepackage{graphicx}
usepackage[caption=false]{subfig}
title{Sample Paper}
author[a]{Samadhan}
begin{document}
maketitle
begin{abstract}
Abstract
end{abstract}
keywords{a,b,c}
section{Introduction}
label{sect:intro} % label{} allows reference to this section
begin{figure}[!htp]
centering
subfloat[Original Multispectral]{%
includegraphics[width=60mm]{example-image-a}%
}quad
subfloat[Subscene]{%
includegraphics[width=60 mm]{example-image-b}
}
caption{original and processed dataset}
label{fig:fuse_Figure}
end{figure}
section{Conclusions}
listoffigures
listoftables
end{document}

A sample file for spieman.cls uses the deprecated subfigure package. You can and should use subfig, but with the caption=false option.
Here's an example.
I removed all setting about setspace and tocloft: the copy editors will not be happy at all if you customize the format they want.
Don't specify both width and height for images: this would likely distort them.
documentclass[12pt]{spieman} % 12pt font required by SPIE;
usepackage{graphicx}
usepackage[caption=false]{subfig}
title{Sample Paper}
author[a]{Samadhan}
begin{document}
maketitle
begin{abstract}
Abstract
end{abstract}
keywords{a,b,c}
section{Introduction}
label{sect:intro} % label{} allows reference to this section
begin{figure}[!htp]
centering
subfloat[Original Multispectral]{%
includegraphics[width=60mm]{example-image-a}%
}quad
subfloat[Subscene]{%
includegraphics[width=60 mm]{example-image-b}
}
caption{original and processed dataset}
label{fig:fuse_Figure}
end{figure}
section{Conclusions}
listoffigures
listoftables
end{document}

answered Dec 2 at 21:00
egreg
703k8618743151
703k8618743151
add a comment |
add a comment |
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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%2f462854%2fhow-to-use-subfig-package-in-articleclass-spieman%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
Where does the class
spiemancomes from? Do you have a link? Please add the complete error message you get to your question (just copy it from your log file)!– Kurt
Dec 2 at 20:55