Awesome
CeTZ Venn
A CeTZ library for drawing simple two- or three-set Venn diagrams.
Examples
<!-- img width is set so the table gets evenly spaced by GitHubs css --> <table><tr> <td> <a href="gallery/venn2.typ"> <img src="gallery/venn2.png" width="250px"> </a> </td> <td> <a href="gallery/venn3.typ"> <img src="gallery/venn3.png" width="250px"> </a> </td> </tr><tr> <td>Two set Venn diagram</td> <td>Three set Venn diagram</td> </tr></table>Click on the example image to jump to the code.
Usage
This package requires CeTZ version >= 0.3.1!
For information, see the manual (stable).
To use this package, simply add the following code to your document:
#import "@preview/cetz:0.3.1"
#import "@preview/cetz-venn:0.1.1"
#cetz.canvas({
cetz-venn.venn2()
})