svg latex code example
Example 1: svg latex overleaf
\usepackage{svg}
\usepackage{amsmath}
\begin{figure}[htbp]
\centering
\includesvg{image.svg}
\caption{svg image}
\end{figure}
Example 2: inkscape svg to pdflatex
inkscape -D -z --file=image.svg --export-pdf=image.pdf --export-latex