3 ms·
Is asymptote easier than LaTeX TikZ? https://www.overleaf.com/learn/latex/TikZ_package https://www.overleaf.com/learn/latex/TikZ_package
by hgsgm 3y ago
Is asymptote easier than LaTeX TikZ?
https://www.overleaf.com/learn/latex/TikZ_package https://www.overleaf.com/learn/latex/TikZ_package
- jimhefferon 3y agoI like it better. I used it for all the diagrams in my latest book. I especially like the 3D. (BTW, the tutorial is first rate.)
- arjvik 3y agoTikz has a LaTeX-inspired syntax that's hard to understand unless you're very competent with LaTeX. You will find yourself constantly looking up syntax for things like loops until you're used to Tikz. Asymptote has a C-like syntax that's very easy to understand and remember. Essentially the only new thing is the data types (i.e. pair, pen) and literals for those types that Asymptote introduces.
- aziis98 3y agoYeah, I really like how they do operators. The ".." concatenation operator is very nice to use and works well even when used in "imperative" code. It's also nice that all operators can be overloaded and the default overloads for pairs and triples can make constructing 2d and 3d shapes very concise. It's a small language but with very reasonable syntax decisions.