programlibs/Panel/demos/font.xtl
ᵘa̲rt : Int -> Char
d u:a_rt: digit latches d (the leftmost first) as three lines
ᵘa̲rt ← { d → s ← ᵖⁿs̲egs d n ← t̲ally d c̲ol ← { k → r̲avel k s̲elect 2 1 t̲ranspose s } one ← n r̲eshape 1 i ← (9 c̲at n) r̲eshape one c̲at (1 + c̲ol 1) c̲at one c̲at (1 + 2 × c̲ol 6) c̲at (1 + c̲ol 7) c̲at (1 + 2 × c̲ol 2) c̲at (1 + 2 × c̲ol 5) c̲at (1 + c̲ol 4) c̲at 1 + 2 × c̲ol 3 t ← i s̲elect " _|" r̲ow ← { k → r̲avel 2 1 t̲ranspose 3 t̲ake (3 × k) d̲rop t } (3 c̲at 3 × n) r̲eshape (r̲ow 0) c̲at (r̲ow 1) c̲at r̲ow 2 }
Used in: ᵘs̲hown, libs/Panel/demos/font.xtl:28