[OS X TeX] Program to draw Venn diagrams?

Joseph C. Slater joseph.slater at wright.edu
Thu Apr 15 01:32:31 CEST 2004


The metapost method listed above is very simple.
For stolen exampe:
Create a metapost file vennfigure.mp with contents:
input venn;
beginfig(1);
  draw_venn_three(false,false,true,false,true,false,false,false);
  draw_venn_three(false,true,false,true,false,false,false,false)
  shifted (4cm,0) withcolor white;
endfig;
end

Download venn.mp (from the link posted by Jean-Claude)

mptopdf vennfigure.mp

You will have a vennfigure-0.pdf file the looks so nice.

Alternatively, you can just put the metapost code in your latex 
document (much faster), but I'll let you look up how to do that.
Joe

-----------------------------------------------------
Please see <http://www.esm.psu.edu/mac-tex/> for list
guidelines, information, and LaTeX/TeX resources.





More information about the macostex-archives mailing list