New answers tagged

2

The primary difficulty appears to be a weakness of the floating point unit in TeX -- it appears to be unable to handle the array syntax. Deactivating it by means of use fpu=false works. Note that you code contains no domain argument -- your x argument is sampled with the default domain -5:5. Adding both + some style changes (that I forgot to remove while ...


3

Here's a Metapost version - mainly to show that recursion works properly in luamplib. \documentclass[border=10mm]{standalone} \usepackage{unicode-math} \setmainfont{TeX Gyre Schola} \usepackage{luamplib} \mplibtextextlabel{enable} \begin{document} \begin{mplibcode} path S; S = superellipse(9 right, 12 up, 9 left, 12 down,0.79); def connect(expr a,b) = ...



Top 50 recent answers are included