c

cetz-venn

@preview

CeTZ library for drawing venn diagrams for two or three sets.

v0.2.0
Apache-2.0

Package Information

Last Updated

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/cetz-venn:0.2.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/cetz-venn:0.2.0": *

Version History

0.2.0
033b1ba4a6cf...
0.1.4
e1aa6e46e233...
0.1.3
a9c85d1d7db9...
0.1.2
e170a2514fbe...
0.1.1
4c884d277cbf...
0.1.0
046191ff255a...

CeTZ Venn

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

Examples

Two set Venn diagram Three set Venn diagram
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.5.0!

For information, see the manual (stable).

To use this package, simply add the following code to your document:

#import "@preview/cetz:0.5.2"
#import "@preview/cetz-venn:0.2.0"

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