When using \begin{codi}[tetragonal] , I got an error.
! Package pgfkeys Error: I do not know the key '/tikz/on grid' and I am going to ignore it. Perhaps you misspelled it.
I added \usetikzlibrary[positioning] in the preamble and fixed it.
I am using XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded format=xelatex)
LaTeX2e <2020-02-02> patch level 5
L3 programming layer <2020-06-03>
And pgf version 3.1.5b and all packages up to date
When using
\begin{codi}[tetragonal]
, I got an error.I added
\usetikzlibrary[positioning]
in the preamble and fixed it.I am using XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020/W32TeX) (preloaded format=xelatex) LaTeX2e <2020-02-02> patch level 5 L3 programming layer <2020-06-03> And pgf version 3.1.5b and all packages up to date