On 9/9/06, Peng Yu <pengyu.ut@...155...> wrote:
I want to use inkscape convert svg file to eps file then include the eps file in latex file, I want make sure the font in the eps file is the same as the one used in the main text. Is there currently any walkaround?
Yes, there is the following one: select in Inscape the same font that you intend to use for your LaTeX document.
Of course, if I only use a fixed LaTeX template, I can set the font in svg file only once and use it forever.
But I might have to use the svg file different templates, each LaTeX template use different font. Then I have to change the svg file for each of them, which is very inconvenient. I'm looking for some better method to use svg file with LaTeX. Do you have one?
Peng,
There is a quick way to change the font used by a SVG picture: open the SVG file with a text editor and with "find/replace" change the name of the used font. For instance, one can replace "Times New Roman" with "cmr10" only by opening the SVG with a text editor and replacing every occurrence of "Times New Roman" with "cmr10".
Paul