aboutsummaryrefslogtreecommitdiffstats
path: root/doc/user/fmt1.awk
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/fmt1.awk')
-rw-r--r--doc/user/fmt1.awk12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/user/fmt1.awk b/doc/user/fmt1.awk
new file mode 100644
index 0000000..06a6b53
--- /dev/null
+++ b/doc/user/fmt1.awk
@@ -0,0 +1,12 @@
+BEGIN {
+ print "@Tbl"
+ print " mv { 0.5vx }"
+ print " aformat { @Cell ml { 0i } indent { right } @Code A | @Cell B | @Cell |"
+ print " @Cell indent { right } @Code C | @Cell D | @Cell |"
+ print " @Cell indent { right } @Code E | @Cell mr { 0i } F }"
+ print "{"
+}
+NR % 3 == 1 { printf "@Rowa\n A { \"%s\" } B { @Math { %s } }\n", $1, $1 }
+NR % 3 == 2 { printf " C { \"%s\" } D { @Math { %s } }\n", $1, $1 }
+NR % 3 == 0 { printf " E { \"%s\" } F { @Math { %s } }\n", $1, $1 }
+END { print "}" }