Hi,
I'm trying to create a \figure that comprises 4 charts, on a 2 x 2 structure. I have used the \figure environment and \subfigure to do so. For captions I have used the packages caption and subcaption.
Altough it works fine on a regular article, when I use the same with LNCS class I get the following error:
ERROR: Package caption Error: Something's wrong--perhaps a missing \caption in the last figure or table
Could you please suggest how to correct this issue or a different approach to do this on a LNCS document?
Thanks a lot!
Sergio
General ⇒ Problem with subcaption on Springer LNCS Class
-
- Posts: 1
- Joined: Sun Jun 03, 2012 12:39 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Problem with subcaption on Springer LNCS Class
Hi Sergio,
welcome to the board!
Perhaps post a
minimal working example. With this code, we could test it and see if we would find a fix. The description is quite theoretical.
Stefan
welcome to the board!
Perhaps post a

Stefan
LaTeX.org admin
Re: Problem with subcaption on Springer LNCS Class
AFAIK the caption package is incompatible to the Springer document classes.
So better try \usepackage[caption=false]{subfig} instead of using the caption/subcaption tandem here.
So better try \usepackage[caption=false]{subfig} instead of using the caption/subcaption tandem here.
-
- Posts: 1
- Joined: Mon Oct 05, 2015 6:20 am
Re: Problem with subcaption on Springer LNCS Class
Hi Stefan,
I am also facing the same problem highlighted here regarding the sub-figures in one graph. I am using a template provided from a Springer journal. I tried to track the two lines of code in LaTex class file but i didn't find any relevant for the two lines you defined as the cause of error
the error sytetax is: ! Package caption Error: Something's wrong--perhaps a missing \caption
here is the latex class I used from springer template, and also the latex document where i wish to generate sub-figures graph.
I appreciate you help. thanks
I am also facing the same problem highlighted here regarding the sub-figures in one graph. I am using a template provided from a Springer journal. I tried to track the two lines of code in LaTex class file but i didn't find any relevant for the two lines you defined as the cause of error
the error sytetax is: ! Package caption Error: Something's wrong--perhaps a missing \caption
here is the latex class I used from springer template, and also the latex document where i wish to generate sub-figures graph.
I appreciate you help. thanks
- Attachments
-
- template.tex
- (5.98 KiB) Downloaded 717 times
-
- svjour3.cls
- (46.56 KiB) Downloaded 465 times
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Problem with subcaption on Springer LNCS Class
sommerfee wrote:AFAIK the caption package is incompatible to the Springer document classes.
So better try \usepackage[caption=false]{subfig} instead of using the caption/subcaption tandem here.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.