0

I was wondering if there existed any sort of "wrapper language" around the basic TikZ/PGF world. I'm in communication with a math professor who says he "... used Python to generate large condensed blocks of TikZ code." Any information on what this might mean or documentation, examples?

147pm
  • 1,369
  • There are two levels of tikz code. The \path ... ; parser translates everything into things like \pgfpathmoveto and \pgfpathlineto. If you use the [legend to name=...] feature of pgfplots, you can see what this looks like in the aux file. – John Kormylo Jan 29 '19 at 17:45
  • 1
    TikZ is already the "wrapper" (or "PR department") of pgf. –  Jan 29 '19 at 18:31
  • https://sourceforge.net/p/pgf/feature-requests/94/ – Henri Menke Jan 29 '19 at 23:26
  • There is for example also svg2tikz, which allows you to use svg as a kind of wrapper language for TikZ - not exactly what you intended with your question of course, but maybe still interesting. – Marijn Jan 30 '19 at 02:47
  • 1
    I don't know if specifically TikZ/PGF is used, but LaTeX is used in the manim engine used for create impressive math animation on the YouTube channel 3Blue1Brown – vi pa Jan 30 '19 at 21:39
  • matplotlib has a pgf backend which spits out low level pgf code. Another possibility for matplotlib is matplotlib2tikz, which generates higher level pgfplots code. – Torbjørn T. Feb 08 '19 at 21:22
  • Am I the professor? Just send me an email and I can tell you more, if you'd like. :) – Marty Apr 08 '19 at 00:09

0 Answers0