Draw commutative diagrams using tikz-cd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Micah Halter 9eb245d1d6
Merge pull request #7 from JuliaTeX/test_versions
1 month ago
.github/workflows Updated julia test versions 1 month ago
src Moved Quiver to a separate style 1 month ago
test Moved Quiver to a separate style 1 month ago
.gitignore Initial push with very basic wrapper 1 year ago
LICENSE Initial commit 1 year ago
Project.toml Update dependencies and bump version to 0.2.1 1 month ago
README.md Moved Quiver to a separate style 1 month ago



Tests codecov

A wrapper around TikzPictures.jl for easier drawing of commutative diagrams using tikz-cd


In order to use this library, lualatex must be installed. You must also have dvisvgm installed.

On Ubuntu, you can get these, if not already present, by running:

$ sudo apt-get install texlive-latex-base texlive-binaries texlive-luatex


tp = TikzCD(L"""
A \arrow{rd} \arrow{r} & B \\
                       & C
""", options="scale=0.25")

For more usage details, check out the TikzPictures.jl repository.

Quiver Support

You can use Quiver to draw your diagrams and then render them with TikzCD by taking the body of the tikzcd from the exported tex file. The QuiverCD function will append the quiver.sty file to your TikzCD diagram.

using TikzCDs: Styles
triangle = L"""        A &&& Q \\
               &&& P
               \arrow["h", from=1-4, to=3-4]
               \arrow["f", from=1-1, to=1-4]
               \arrow["g"', from=1-1, to=3-4]
tridiagram = TikzCD(triangle, preamble=Styles.Quiver)