Debian Codegraph @

contrib/hdtbl/examples/short_reference.roff

raw
1 .ig
2 Copyright 2006 Free Software Foundation, Inc.
3
4 Written by Joachim Walsdorff <[email protected]>
5
6 This file is part of hdtbl.
7
8 hdtbl is distributed with groff, the GNU roff typesetting system.
9
10 groff is free software; you can redistribute it and/or modify it under
11 the terms of the GNU General Public License as published by the Free
12 Software Foundation, either version 3 of the License, or
13 (at your option) any later version.
14
15 groff is distributed in the hope that it will be useful, but WITHOUT
16 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 ..
23 .
24 .if !d sopath \
25 . ds sopath
26 .
27 .ds lib examples/common.roff
28 .soquiet \*[sopath]\*[lib]
29 .if !d common \{\
30 . tmc \n[.F]: cannot find "\*[lib]"; specify its location
31 . tm1 " with groff '-I' or '-d sopath=' option
32 .\}
33 .
34 .
35 .t*pv 1.2 1.2 "" x
36 .H Short Reference for the HDtbl-Macros
37 This Short Reference describes the Heidelberger Table Macros
38 using the macros themselves.
39 .br
40 .nr t*csp .3n
41 .nr t*cpd .3n
42 .ds t*ff HN
43 .ds t*val m
44 .ds t*hal l
45 .xig
46 .TBL "width=10% 40% 25% 25%" border= "fsz=1 .8"
47 .CPTN Base- Optional- and Utility-Macros val=b
48 .TR
49 .TH Macro .TH Description .TH Predecessors .TH Successors
50 .TR
51 .TD \&.TBL .TD Begin a new table .TD \&.TD \&.TH \%.ETB cell content
52 .TD \&.CPTN \&.TR
53 .TR
54 .TD \&.CPTN .TD Optional numbered or unnumbered table caption
55 .TD \&.TBL .TD \&.TR
56 .TR
57 .TD \&.TR .TD Begin a new table row .TD \&.TBL \&.CPTN cell content
58 .TD \&.TD \&.TR
59 .TR
60 .TD \&.TH .TD Optional begin table header cell
61 .TD \&.TR \&.TD \&.TH \%.ETB cell content
62 .TD \&.TD \&.TH \&.TR \%.ETB cell content
63 .TR
64 .TD \&.TD .TD Begin table data cell .TD \&.TR \&.TD \&.TH \%.ETB cell content
65 .TD \&.TD \&.TH \&.TR \%.ETB cell content
66 .TR
67 .TD \&.ETB .TD Finish and print table .TD \&.TD \&.TH \%.ETB cell content
68 .TD \&.TBL \&.TR \&.TD \&.TH \%.ETB cell content
69 .TR
70 .TD \&.t*free
71 .TD colspan=3 val=t Utility macro to free held tables. Use it outside any table.
72 .ETB
73 .bp
74 .x.
75 .TBL "fsz=1 .8" "width=20% 32% 8% 8% 8% 8% 8% 8%" border=
76 .TR
77 .TH Argument .TH Value .TH \&.TBL .TH \&.CPT .TH \&.TR .TH \&.TH .TH \&.TD .TH \&.ETB
78 .TR
79 .TD border=\fI[n]\fP
80 .TD border thickness .TD .ce X .TD .TD .TD .TD .TD
81 .TR
82 .TD bc=\fI[c]\fP
83 .TD color of border and cellseperatorlines .TD .ce X .TD .TD .ce X .TD .ce X .TD .ce X .TD
84 .ETB
85 .H ------ incomplete -------
86 .
87 .\" Local Variables:
88 .\" mode: nroff
89 .\" fill-column: 72
90 .\" End:
91 .\" vim: set filetype=groff textwidth=72: