p

pedigrypst

@preview

Draw pedigrees.

v0.1.0
MIT
1 downloads

Package Information

Last Updated
Minimum Typst Version
0.14.0
Categories
visualization
Disciplines
biology

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/pedigrypst:0.1.0

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/pedigrypst:0.1.0": *

Version History

0.1.00.14.0
6c92bb90473b...

Pedigrypst is a package for drawing pedigrees.

Examples

A pedigree showing six generations with two consanguineous, cross-generation unions. A pedigree showing the relationship described in the song 'I'm My Own Grandpa' by Dwight Latham and Moe Jaffe.

Usage

For information, check the manual.

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

#import "@preview/pedigrypst:0.1.0" as pedigrypst: pedigree

#pedigree({
  import pedigrypst: *
  // Pedigree data here
  individual(1, 1, "male")
})