Hello
I was wondering if anyone can just suggest the best and most spreaded way to include pictures.
Right now i'm using pic2e pacage and in body section i'm using usual picture environment commands. But its quite pain to draw in it, and it does not allow to convert those pictures to pdf (dvipdfm) (is there any simple solution?).
So, any suggestions? What is out there?
Graphics, Figures & Tables ⇒ The best way to include pictures
NEW: TikZ book now 40% off at Amazon.com for a short time.

The best way to include pictures
There are some vector graphics packages like PSTricks and PGF/TikZ that provide powerful drawing commands embedded in LaTeX documents. Furthermore, there are a lot of good external vector graphics programs like MetaPost and Asymptote, which consist of a separate programming language and a compiler to build PDF, PNG or EPS files. There is never "the best" way, you have to choose which solution addresses your requirements. Asymptote is by far the most powerful of these programs, but for simple drawings that don't require extensive calculations, TikZ is a bit easier and much better documented. Here are some galleries that show the possibilities:
http://asymptote.sourceforge.net/gallery/
http://tug.org/PSTricks/main.cgi?file=examples
http://www.texample.net/tikz/examples/
Here is a comparison:
http://www.tug.org/pracjourn/2007-1/beccari/beccari.pdf
http://asymptote.sourceforge.net/gallery/
http://tug.org/PSTricks/main.cgi?file=examples
http://www.texample.net/tikz/examples/
Here is a comparison:
http://www.tug.org/pracjourn/2007-1/beccari/beccari.pdf
Re: pictures
What is the advantage of using a package such as PSTricks over making the graphs in, say Illustrator and importing them as an eps? Is there reduced size or do you simply have more control over everything?
thanks
thanks
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
The best way to include pictures
For me it is the consistency in the look of the document. I'm not a purist, but it is very easy to see whether graphics are done with external or internal means. This concerns especially text. With pgf/tikZ or pstricks you insert text with exactly the same typeface into your figures. And in my opinion there is much better control over the graphics elements. I don't need to open an external program to do corrections.PGScooter wrote:What is the advantage of using a package such as PSTricks over making the graphs in, say Illustrator and importing them as an eps? Is there reduced size or do you simply have more control over everything? [...]
Best regards
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: pictures
The fonts, line widths etc. match those of the document. This is quite important, and is often neglected. Furthermore, programs like Metapost and Asymptote offer complete programming language, which provides great flexibility. This is sometimes needed, especially for technical drawings.
Re: pictures
sorry for the late reply, I just remembered about this post.
Thank you, localghost and phi for the explanations.
I now understand why it is important. I hadn't realized the consistency aspect of it.
thanks
Thank you, localghost and phi for the explanations.
I now understand why it is important. I hadn't realized the consistency aspect of it.
thanks