
\: This is dense stuff. It can be made more legible by exercising
\: \formatted#1.
\: The result looks better.

\: Primitive txt-table formatting; no line wraps possible yet. The thing
\: below is not at all parameterized  (and the hardcoded rules are ugly)
\: BUT  the content  and  alignment specification  have been  completely
\: separated. Note  that we must specify  \@{\w} or zoem will  gobble up
\: the carefully prepared white-space formatting.


\set{lrule}{.--------------------.--------------------.--------------------.}
\set{rule}{^--------------------^--------------------^--------------------^}

\@{\w}\lrule
\apply{_#3{\!{\format{|%=~{()}{'}20.|  %<18.|%>18.  |}{{(\1)}{[\2]}{\3}}}
\rule
}}{ {aap} {noot} {mies}
   {snoep} {bal} {vork}
   {tafel} {boom} {ma}
}
\@{\W\P}

\@{\w}\apply{_#2{\!{\format{ |%>6. %>~{.}{  }30.}{{\1}{\2}}}
}}{ {1}{The first line}{2}{The second line}{3}{boo}}
\@{\W\P}

\@{\w}\apply{_#1{\!{\format{%=~{.-'''-}{  }60..}{{\1}}}
}}{ {The first line}{The second line}{boo}}
\@{\W\P}

\@{\w}\apply{_#1{\!{\format{%=~{-}{'}@{.}{5}20.}{{\1}}}
}}{ {12.1239}{234.23}{0.33}{.0004}{103482390483029.23094830}}
\@{\W\P}

\set{width}{50}
\set{offset}{26}
\@{\w}\apply{_#2{\!{\format{%=~{-+H+}{  }@{^_^}{\offset}\width\"".-}{{\1 ^_^ \2}}}
}}{ {big_tree}{small_mouse}{long_road}{short_visit}{warm_sun}{cold_beer}{free_speech}{stay_put} }
\@{\W\P}

