Package caption Warning: Unknown document class (or package), standard defaults will be used. See the caption package documentation for explanation

support-caption.sty

1
2
3
4
5
6
7
8
9
10
11
12
\setlength\abovecaptionskip{\f@size\p@}
\setlength\belowcaptionskip{0\p@}
\long\def\@makecaption#1#2{%
\vskip\abovecaptionskip
\sbox\@tempboxa{#1: #2}%
\ifdim \wd\@tempboxa >\hsize
#1: #2\par
\else
\global \@minipagefalse
\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\fi
\vskip\belowcaptionskip}
1
2
\usepackage{support-caption}
\usepackage{subcaption}

Reference