$6.00 Orange juice L $8.50 Coca cola XL $12.50 @require: table \tabular(fun t -> ( %第1引数で表の中身の指定 let (c, l, r) = (t#c, t#l, t#r) in [ [ l {Menu}; c {Size}; r {Price} ]; [ l {Ginger ale}; c {L}; r {\$6.00} ]; [ l {Orange juice}; c {L}; r {\$8.50} ]; [ l {Coca cola}; c {XL}; r {\$12.50} ]; ] ))(fun xs ys ->( %第2引数で罫線の指定 let thin = stroke 0.5pt Color.black in let thick = stroke 1pt Color.black in %まだまだ続くよ 5/16
Orange juice L $8.50 Coca cola XL $12.50 @require: easytable/easytable open EasyTableAlias %いくつかの関数が楽に書けるように \easytable[l; c; r]{ | Menu | Size | Price | Ginger ale | L | \$6.00 | Orange juice | L | \$8.50 | Coca cola | XL | \$12.50 |} %終わり! 簡素な表は必要最小限の記述量で組めるよう API を単純化 7/16
sentence. Orange juice Very long long long SATYSFI sentence. Coca cola このように長い文章 が入っていても全く 問題ない. \easytable[l; lw 90pt]{ | Menu | Sentence | Ginger ale | Long sentence. | Orange juice | Very long long long \SATySFi; sentence. | Coca cola |このように長い文章が入っていても全く問題ない. |} 8/16