diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/combinator.bqn | 4 | ||||
| -rw-r--r-- | doc/types.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/combinator.bqn b/doc/combinator.bqn index d088a622..62ad4c11 100644 --- a/doc/combinator.bqn +++ b/doc/combinator.bqn @@ -11,7 +11,7 @@ _trans ← {𝕗 At "transform=translate("∾(⊣∾","∾⊢)○FmtNum∾")"˙} Groups ← ("g"At"font-size=20px|text-anchor=middle")_trans˜⌜ rc ← At "class=code|stroke-width=1|rx=12" -rc ∾↩ (Pos⟨¯0.43×w,1⟩)∾"width"‿"height"≍˘FmtNum¨⟨0.86×w,h-55⟩ +rc ∾↩ (Pos⟨¯0.43×w,1⟩)∾"width"‿"height"≍˘FmtNum⟨0.86×w,h-55⟩ cc ← At "r=12|class=code|stroke-width=0" n ← Text∘‿2⥊⟨"y",FmtNum h-37, "fill","currentColor"⟩ case ← (¯1‿1×w÷4.6) ("g"At"font-size=21px|font-family=monospace")_trans¨ 25 @@ -54,7 +54,7 @@ DrawComp ← {𝕊𝕩:(names⊏˜comps⊐𝕩)𝕊𝕩; names 𝕊 spel: (< case Enc¨ ⊢)⎉1 ∾¨´ ⟨ (<lt Enc Highlight)¨ label path Connect¨¨⟜(vl⊏¨˜vv(⊐⌈≠∘⊣|⊒)¨⊢)○((0<≠¨¨path)/¨⊢) name - ("circle" Elt cc∾⟨"cx","cy"⟩≍˘FmtNum¨)¨¨ vp + ("circle" Elt cc∾⟨"cx","cy"⟩≍˘FmtNum)¨¨ vp vp Text∘Pos⊸Enc⟜Highlight¨¨ vv ⟩ ⟩ diff --git a/doc/types.md b/doc/types.md index 51a9b9f8..0d5ed602 100644 --- a/doc/types.md +++ b/doc/types.md @@ -20,7 +20,7 @@ p ← 64‿38 dim ← (2×p) + sh × d1 ← 128‿64 rp ← 8÷d1 Pos ↩ Pos d1⊸× -Size ← "width"‿"height" ≍˘ ·FmtNum¨ d1×⊢ +Size ← "width"‿"height" ≍˘ ·FmtNum d1×⊢ cl ← {"class"‿𝕩}¨ "purple"‿"bluegreen"‿"yellow" TP ← "text" Attr "dy"‿"0.32em"∾˜Pos⊘(∾⟜Pos) |
