diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-22 20:30:15 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-22 20:30:15 +0200 |
commit | 0d1f04b92b1f3c369036c4c17af53e23e5d2be4e (patch) | |
tree | 18d4cc4b2b23fec3d211b1764578f601b0e0d988 /toc/example.t | |
parent | d1c128722e4478c386aa6adab88c680c61beb72d (diff) | |
download | mk-0d1f04b92b1f3c369036c4c17af53e23e5d2be4e.tar.gz |
Add toc.tmac
Diffstat (limited to 'toc/example.t')
-rw-r--r-- | toc/example.t | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/toc/example.t b/toc/example.t new file mode 100644 index 0000000..e725a98 --- /dev/null +++ b/toc/example.t @@ -0,0 +1,30 @@ +.so toc.tmac +. +.de H +. ft B +. ps +2p +. vs +1p +. sp 12p +\&\\$* +. br +. ft +. ps +. vs +. te .toce \\n% \\$* +.. +. +.de toce +. nr _ \\$1 +. shift +. tl '\\$*''\\n_' +.. +. +.sp |1i +.to +.sp 12p +This is a demonstration of toc.tmac. +.br +.H Introduction +.H Background +.H Results +.H Summary |