
-----Original Message----- From: inkscape-user-bounces@lists.sourceforge.net [mailto:inkscape-user-bounces@lists.sourceforge.net] On Behalf Of Paulo J. Matos Sent: maandag 14 juli 2008 11:06 To: Inkscape User Community Subject: [Inkscape-user] Inkscape and Latex fonts
Hello all,
I use inkscape to create my latex diagrams, then I export them to eps or pdf to include them in slides or papers. One thing that bothers me is that the fonts are different (latex and inkscape fonts). Is there a way to draw the text in the inkscape diagram with the font used on the document the diagram is included?
You can use the LaTeX extension to get LaTeX text in Inkscape (Effects -> Render -> Latex formula...). This uses the default LaTeX font, but you can change it. Find the extension's python file: "share\extensions\eqtexsvg.py" and open it in a text editor. Somewhere there are lines that get written to a temporary tex file, you should modify them to get your fonts. Search for "\usepackage{amsmath}". Those lines should match with the preamble of your latex document.
Good luck, Johan