/cetz-venn

Draw simple venn diagrams using CeTZ

Primary LanguageTypstApache License 2.0Apache-2.0

CeTZ Venn

A CeTZ library for drawing simple two- or three-set Venn diagrams.

Examples

Two set Venn diagram Three set Venn diagram

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.2"

#cetz.canvas({
  cetz-venn.venn2()
})