Documentation of tikzpy. Build your TikZ drawings for latex with python. tikzpy is a python library that helps to build your tikZ pictures using python, instead of using directly tikZ sintaxis.
Main tikzpy class
tikzpy object which contains the drawing info
tikZ = tikzpy.pytikz() <_00_pytikZ>
Points: add and edit reference spatial points in a 3D space
- points
tikZ.pto <_01_pytikZ_points>
2D shapes: add and edit 2D shapes and text in a 3D space
- shapes
tikZ.shp <_02_pytikZ_shapes>
plots: buld-in plots based on tikzpy
- plots
tikZ.plots <_03_pytikZ_plots>
labels: add, edit, desactive labels of the different shapes
- labels
tikZ.lbl <_04_pytikZ_labels>
colors: add and define custom colors and transparencies
- colors
tikZ.col <_05_pytikZ_colors>
groups: add points and shapes to a group and operate with such container
- groups
tikZ.grp <_06_pytikZ_groups>
Utilities included in tikzpy
files crawler: utility to crawl files by extension or name in folders
- files_crawl
tikzpy.files_crawl <_files_crawl>
Or check the
reference index <py_tikz_reference_index_doc>
First steps and introductory examples on how to use tikzpy can be found in this section.
- tikzpy: tikZ = tikzpy.pytikz() -->
main class examples <_00_pytikZ>
- Points: tikZ.pto -->
points examples </_examples/tikzpy_points/test_gen>
- 2D shapes: tikZ.shp -->
shapes examples </_examples/tikzpy_shapes/test_gen>
- build-in plots: -->
plots examples </_examples/tikzpy_plots/test_gen>
- labels: -->
labels examples </_examples/tikzpy_labels/test_gen>
- colors: tikZ.col -->
colors examples </_examples/tikzpy_colors/test_gen>
- groups: tikZ.grp -->
group examples </_examples/tikzpy_groups/test_gen>
Install Latex in Windows:
- Install MikTex (miktex.org)
Install Latex in Ubuntu:
- sudo apt-get install texlive-full
- sudo apt-get install xzdec
- sudo tlmgr install pgf
- sudo tlmgr install tikz-cd
- Packages: tikz, tikz-3dplot
- TikZ libraries: shapes,arrows,decorations, decorations.pathmorphing,arrows.meta,patterns
- Recomended to install ImageMagik and Ghostscript for png creation in Windows
Code examples of drawings and pictures carried out using tikzpy. Contact and send us your drawings based of tikzpy if you want them to be included in this section.
genindex
modindex
search