# LaTeX command in GIMP

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

5 of 5 messages available
 LaTeX command in GIMP Adriano Fagiolini 18 Mar 14:25 LaTeX command in GIMP John Culleton 18 Mar 15:08 LaTeX command in GIMP Terry Hancock 18 Mar 20:43 LaTeX command in GIMP Olivier Ripoll 18 Mar 15:00 LaTeX command in GIMP Adriano Fagiolini 09 Apr 09:33
2003-03-18 14:25:29 UTC (over 17 years ago)

### LaTeX command in GIMP

Hi,

My name's Adriano. I'm really desperate. I need to do a picture containing some text formatted as in LaTeX. I mean that I need to write a letter with the sign of a vector as you do in physics. Is there any program that can help me? Is it possible to do it in GIMP? I'm sure it is, but how? I actually need to do some simple image containing rectangles, circles and lines. But I can I add the letter "\theta" or "\vec{\omega}"? Please, answer me soon! Help me!
Thank you!

~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~

"There are 10 types of people: those who understand binary
and those who don't"

Anonymous

~~~~ ~~~~ ~~~~ ~~~~ ~~~~ ~~~~

2003-03-18 15:00:55 UTC (over 17 years ago)

### LaTeX command in GIMP

Hi, My name's Adriano. I'm really desperate. I need to do a picture containing some text formatted as in LaTeX. I mean that I need to write a letter with the sign of a vector as you do in physics. Is there any program that can help me? Is it possible to do it in GIMP? I'm sure it is, but how? I actually need to do some simple image containing rectangles, circles and lines. But I can I add the letter "\theta" or "\vec{\omega}"?Please, answer me soon! Help me!Thank you! Adriano

I think sketch ( http://sketch.sourceforge.net/ ) does this with some add ons.
Anyway, for what you want, sketch or any vectorial tool is more suited.

Regards,

Olivier.

2003-03-18 15:08:59 UTC (over 17 years ago)

### LaTeX command in GIMP

On Tuesday 18 March 2003 08:25 am, Adriano Fagiolini wrote:

Hi,

My name's Adriano. I'm really desperate. I need to do a picture containing some text formatted as in LaTeX. I mean that I need to write a letter with the sign of a vector as you do in physics. Is there any program that can help me? Is it possible to do it in GIMP? I'm sure it is, but how? I actually need to do some simple image containing rectangles, circles and lines. But I can I add the letter "\theta" or "\vec{\omega}"? Please, answer me soon! Help me!
Thank you!

Don't be desperate! But do research what is available. I use TeX and Gimp in concert frequently. I would first look in the TeXbook to see if the symbol you need is in one of the math fonts. If not I would look in the manual for pstricks to see if it could be constructed easily there. You certainly can use the commands \theta and \Theta in plain TeX, LaTeX etc. LaTeX is a bit constricting so it might help to create the letter in a PS file using plain Tex, import it into Gimp, and then manipulate it there.

I think if you combine TeX's math fonts, the picture drawing capability of pstricks and the combining capabilities of Gimp you will solve your problem.

John Culleton

2003-03-18 20:43:34 UTC (over 17 years ago)

### LaTeX command in GIMP

On Tuesday 18 March 2003 05:25 am, Adriano Fagiolini wrote:

My name's Adriano. I'm really desperate. I need to do a picture containing

some text formatted as in LaTeX. I mean that I need to write a letter with the sign of a vector as you do in physics. Is there any program that can help me? Is it possible to do it in GIMP? I'm sure it is, but how? I actually need to do some simple image containing rectangles, circles and lines. But I can I add the letter "\theta" or "\vec{\omega}"?

If you mean you want a block of LaTeX formatted text in a drawing, then the advice about using Sketch may be helpful to you.

However, it sounds to me like you want to render some math and then use it as an artistic element.

To do that, what you'll want is to work from Postscript. Render the desired LaTeX to Postscript. Then use Gimp or ImageMagick or Ghostscript (which is what they all use under the hood, actually -- and from the gs command line you can be much more specific) to render the Postscript to a bitmap at the desired resolution (pixel-size). Voila! You have a bitmap of the desired object, which you can then manipulate in Gimp -- color it, mask it, run filters on it, whatever.

Variations are possible, of course -- in some programs you can rotate the postscript before rendering it (if that's required). Otherwise you can just do a bitmap rotation -- in practice that usually works well enough.

I used a very similar method to render Japanese Kanji -- I used Yudit with the Cyberbit far-east fonts and rendered the result as Postscript. The rest is just like the above. Basically, if you can get Postscript, you're most of the way there.

Cheers,
Terry

--
Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com

2003-04-09 09:33:58 UTC (over 17 years ago)

### LaTeX command in GIMP

Thank you very much for your help!

----- Original Message ----- From: "John Culleton"

Sent: Tuesday, March 18, 2003 4:08 PM Subject: Re: [Gimp-user] LaTeX command in GIMP

On Tuesday 18 March 2003 08:25 am, Adriano Fagiolini wrote:

Hi,

My name's Adriano. I'm really desperate. I need to do a picture containing some text formatted as in LaTeX. I mean that I need to write a letter with the sign of a vector as you do in physics. Is there any program that can help me? Is it possible to do it in GIMP? I'm sure it is, but how? I actually need to do some simple image containing rectangles, circles and lines. But I can I add the letter "\theta" or "\vec{\omega}"? Please, answer me soon! Help me!
Thank you!

Don't be desperate! But do research what is available. I use TeX and Gimp in concert frequently. I would first look in the TeXbook to see if the symbol
you need is in one of the math fonts. If not I would look in the manual for pstricks to see if it could be constructed easily there. You certainly can use the commands \theta and \Theta in plain TeX, LaTeX etc. LaTeX is a bit constricting so it might help to create the letter in a PS file using plain Tex, import it into Gimp, and then manipulate it there.

I think if you combine TeX's math fonts, the picture drawing capability of pstricks and the combining capabilities of Gimp you will solve your problem.

John Culleton