
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?
Cheers,

2008/7/14 Paulo J. Matos <pocm@...1819...>:
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?
Cheers,
I don't know how complex your diagrams are, but I have in the past exported Inkscape diagrams directly to pstricks macros. These then can be included into the LaTeX source files.
This may not help as me experience was with company logos that did not include any text, but is worth a try.

On Monday 14 July 2008 05:05:56 am Paulo J. Matos wrote:
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?
Cheers,
I don't know which LaTeX fonts you are using, nor on what platform, but in general fonts used in any form of TeX are located in a subdirectory named fonts. If you go to the subdirectory for type 1 and continue to drill down eventually you will ocme across the pdf file. You are half way home. If you can find the corresponding afm file you have all the components, which you need to put in a place where Inkscape can find them.
At the moment I am shooting ducks with a blindfold on. What operating system do you use? What version of TeX: tetex, texlive, miktex or other? What s;pecific fonts are you concerned with?

-----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
participants (4)
-
unknown@example.com
-
John Culleton
-
Paulo J. Matos
-
Philip Stubbs