PSTricks - Math

Post questions on how to use or achieve an effect in Inkscape.
svenskmand
Posts: 2
Joined: Fri Sep 12, 2008 1:42 am

PSTricks - Math

Postby svenskmand » Fri Sep 12, 2008 1:50 am

Hello everybody,

i wanted to use Inkscape to make figures with Math inside so they are displayed in my LaTeX documents and the math is typeset. But if I just write a text-string in Inkscape like this

$\sum_{i=1}^n{\frac{i}{2^i}}$

Inkscape doesn't produce a math-line in the output it just renders the text so the above makes a ~40kb file, so Inkscape render/draws the text as normal graphics. How to I get Inkscape to just ask LaTeX to render the text?

Best regards :)

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: PSTricks - Math

Postby microUgly » Sat Sep 13, 2008 1:57 pm

I don't know the answer, sorry, but doesn't Latex have support for equations without using other tools?

svenskmand
Posts: 2
Joined: Fri Sep 12, 2008 1:42 am

Re: PSTricks - Math

Postby svenskmand » Thu Sep 18, 2008 7:55 am

Err, yes, but the point is that when I make a figure and export it to eps or png or something, the text on the figure is make by the program to make the figure. With PSTricks you can export the figure to a drawing made entirely with LaTeX commands, and the text in the figure is typeset by LaTeX and not the program to make the figure. What can only do with Inkscape now is to export the figures to a tex-file, but the text in the figure is also convertet to paths and exportet, so LaTeX cannot read it and typeset it itself.

It is of little practial purpose to export a figure in Inkscape to a tex file using PSTricks if the text in the figure is convertet to paths, instead of retaining it so LaTeX can typeset it. If this is not possible there is no point in having the ability to export to a tex-file with PSTricks from Inkscape as you could just as good export to eps, png or any other LaTeX-compatible format and use the figure.

Hope this is understandable :) (It is a little difficult to explain propperly)

Best Regards.

Guest

Re: PSTricks - Math

Postby Guest » Fri Apr 17, 2009 7:41 pm

Hello,
take a look here : http://www.elisanet.fi/ptvirtan/software/textext/ . This plug-in allows you to directly work with LaTeX in an Inskscape file.

Best regards and I hope that this helps you.

projetmbc
Posts: 1
Joined: Fri Apr 17, 2009 7:30 pm

Re: PSTricks - Math

Postby projetmbc » Fri Apr 17, 2009 8:04 pm

In my preceding post (the one just above) I forgot to say that the final export is still all made of "curves". If it is still a problem for you, just take a look here : http://jpicedt.sourceforge.net/site/ .


Return to “Help with using Inkscape”