Graphics, Figures & TablesCommand for Sub-figure fails

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Amitavo Roy
Posts: 14
Joined: Sat Apr 06, 2013 11:50 am

Command for Sub-figure fails

Post by Amitavo Roy »

Hello,

I want to use the \subfigure command in the my included files. But \subfigure command is not working. Only figure command is working.

I am not able to follow why this is happening. Please suggest me. The corresponding file are attached for your convenience.
Attachments
KSP_Mono_A4.tex
Main file
(3.99 KiB) Downloaded 326 times
KSP_Mono_A4.cls
Class file
(4.85 KiB) Downloaded 332 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

tommytex
Posts: 39
Joined: Wed Jan 23, 2013 10:04 pm

Command for Sub-figure fails

Post by tommytex »

Hi :)

Code: Select all

\usepackage{caption}
\usepackage{subcaption}
\usepackage[tight,center]{subfig}
See here.

greez tommytex
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Command for Sub-figure fails

Post by localghost »

tommytex wrote:Hi :)

Code: Select all

\usepackage{caption}
\usepackage{subcaption}
\usepackage[tight,center]{subfig}
[…]
A combination of subcaption and subfig is certainly not necessary. One of those two packages is enough.


Thorsten
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

Command for Sub-figure fails

Post by sommerfee »

localghost wrote:A combination of subcaption and subfig is certainly not necessary.
... and won't work correctly anyway.
Post Reply