[Tex/LaTex] Subcaption cannot be found by MiKTeX package manager

packagessubcaption

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 package captionas you can see by invoking texdoc caption. Then you get the pdf documentation for caption and subcaption.

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?