In a note on drawing software, it has been mentioned that LaTeX commands can be used to write math formulas in Inkscape. But Inkscape itself does not have this function, need to rely on Ghostscript and pstoedit these two software. There are tutorials on the web (but mostly for earlier versions, the tutorials are tedious to write), and using LaTeX in the latest version of Inkscape has become very simple. The Ghostscript mentioned earlier is the PS language interpreter, which has been integrated in the texlive, but integrates with the lite version of the Ghostscript. So in order to better use the Ghostscript features, it is best to install the full version, the current version is 9.16.
To implement a mathematical formula using the LaTeX command in Inkscape, you need the following two steps:
1. Install the Ghostscript and add its path to the system environment variable;
2. Install the Pstoedit, and also add its path to the system environment variable.
After completing these two steps, you can use the latex command in Inkscape: select "Extend"--"render"-"latex".
LaTeX mathematical formulae used in Inkscape