pylatex add package code example Example: pylatex add package # After importing Package from pylatex: doc.packages.append(Package('tikz'))