From c0effcec4d7e01c2e75614372780a115dcf203b8 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Tue, 4 Jan 2022 21:42:29 -0500 Subject: Fix disappearing background rectangle in expression diagram --- docs/tutorial/list.html | 46 +++++++++++++++++++++++----------------------- tutorial/list.md | 6 +++--- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/tutorial/list.html b/docs/tutorial/list.html index 71eb8a5f..1f62233c 100644 --- a/docs/tutorial/list.html +++ b/docs/tutorial/list.html @@ -281,7 +281,7 @@

Lot of functions up there. Notice how I need to use parentheses for the left argument of a function if it's compound, but never for the right argument, and consequently never with a one-argument function.

- + +´ (24) × "1001"-'0' @@ -297,30 +297,30 @@ - '0' - - - "1001" - × - 4 - - - 2 - - ´ - + + '0' + - + "1001" + × + 4 + + + 2 + + ´ + + - '0' - - - "1001" - × - 4 - - - 2 - - ´ - + + '0' + - + "1001" + × + 4 + + + 2 + + ´ + + diff --git a/tutorial/list.md b/tutorial/list.md index 995a81c5..af388154 100644 --- a/tutorial/list.md +++ b/tutorial/list.md @@ -64,14 +64,14 @@ sh ← ≢ types p ← 96‿38 dim ← (2×p) + sh × d1 ← 136‿64 rp ← 8÷d1 -Pos ↩ Pos d1⊸× +Posd ← Pos d1⊸× Size ← "width"‿"height" ≍˘ ·FmtNum d1×⊢ cl ← {"class"‿𝕩}¨ "purple"‿"bluegreen"‿"yellow" -TP ← "text" Attr "dy"‿"0.32em"∾˜Pos⊘(∾⟜Pos) +TP ← "text" Attr "dy"‿"0.32em"∾˜Posd⊘(∾⟜Posd) ts← (≍⌜´0.5+↕¨sh) TP⊸Enc¨ types l ← (cl TP¨ (0.75≍¨1(-≍+)1.2)∾<2.2‿2.3) Enc¨ "Data"‿"Operation"‿"Atom" -RD← (Size ⟨⊑sh,1⟩-2×rp)∾Pos +RD← (Size ⟨⊑sh,1⟩-2×rp)∾Posd r ← (2↑cl) {"rect" Elt 𝕩∾"rx"‿"10px"≍𝕨}⟜RD¨ 0(rp+≍)¨↕1⊑sh Round ← { -- cgit v1.2.3