Even though I cannot find it with the pacakage manager, a file with \usepackage{subcaption}
in preambles can be complied successfully.
Besides, the command \begin{subfigure}...\end{subfigure}
cannot be recognized by TeXstudio, after I have manually added subcaption.cwl
into the completion files.
Best Answer
Package
subcaption
is part of packagecaption
as you can see by invokingtexdoc caption
. Then you get the pdf documentation forcaption
andsubcaption
.I do not use TeXStudio, so I can't help you with your second question. Can the manual of TeXStudio help? Or perhaps the question configure-multiline-autocompletion-in-texstudio?