[Tex/LaTex] svg package and subcaption incompability

graphicssubcaption

Is there a way to use the svg package when the subcaption package is included as well? The svg package uses the subfig package, which apparently leads to conflict. But it seems to be common sense that the subcaption package is prefered over the subfig package.

Best Answer

In this answer the solution is to suppress the load of the subfig package by this

\expandafter\def\csname ver@subfig.sty\endcsname{}

command. Unfortunately, this works for me only until TeX Live 2015.