Are there any Latex packages (or any other text based methods) to assist in cartooning i.e. creation of simple images representing real-life objects. Something as simple as the images on xkcd is good enough for me.

(FYI - Randall Munroe does use the old school technique of putting pen/pencil on paper)

To provide a sharper focus to the original question [above] - I need a package with an assortment of shapes of commonly seen tangible objects, such as cars, laptops, trees etc., with multiple anchors to finely control the final 'look' of this shape. I was especially looking for stick human figures. The Shape library in the TikZ/PGF library comes the closest from amongst what I have already seen, but not close enough.

  • Welcome to TeX.SE. I removed 'thanks' from your post since we omit this. Instead, you should up-vote and accept the answers, giving the answerer the site reputation. – yo' May 30 '12 at 8:46
  • I don't have a specific answer for you, but you might have a look at the TikZ/PGF package. Some example of a tikz drawing can be found here: How can I draw a cake using TikZ? or TikZ and PGF examples – yo' May 30 '12 at 8:50
  • While not text-based, you might want to consider Inkscape. It has some good LaTeX features. – Scribblemacher May 30 '12 at 11:18
  • From what I have seen from amongst the answers I have received, the Shape library in the TikZ/PGF package comes closest to what I had in mind; and yet it is quite a way off from what I had in mind. – sibinpthomas May 30 '12 at 14:53
  • A (or multiple) stick figure shape(s) with multiple anchors would come a lot closer to what I had in mind. Is there something like that or does it have to be created? – sibinpthomas May 30 '12 at 15:02

You can do a surprising amount with metapost's image operator. See for example p.46 of http://www.tug.org/docs/metapost/mpman.pdf

Packages like Context make it easier to integrate metapost with latex.

  • Hm. I already upvoted before reading the last line, then I wanted to take the vote back, but that resulted in -1 rating, so I pressed the up-button once again. But yeah, if you can rephrase that last line (context is a format; latex is a format; i.e., not packages), then np. Maybe you could even attach some of the code from that page 46? There's a mysterious lack of MP answers/questions here compared to tikz. – morbusg May 30 '12 at 13:03
  • @morburg, The MPS to PDF conertor used by pdflatex is provided by context. Perhaps the OP meant that. – Aditya May 30 '12 at 13:57
  • @morbusg In can you didn't find out yet yourself, you can un-upvote by pressing the up arrow again. – Christian May 30 '12 at 14:53
  • I was looking for a higher level of abstraction than what is available in this. Need a package with an assortment of shapes with multiple anchors to finely control the final 'look' of this shape. I was especially looking for stick figures. – sibinpthomas May 30 '12 at 15:07
  • Now I need to find out how to edit my comment to change the weird 'can' to 'case'... – Christian May 30 '12 at 18:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.