git.iko.soy/typeable/pandoc
on 1.15.0.5 help sign in
typeable/pandoc/tests/tables.context
175 lines 2.3 kB history raw
1Simple table with caption:
3\placetable{Demonstration of simple table syntax.}
4\starttable[|r|l|c|l|]
5\HL
6\NC Right
7\NC Left
8\NC Center
9\NC Default
10\NC\AR
11\HL
12\NC 12
13\NC 12
14\NC 12
15\NC 12
16\NC\AR
17\NC 123
18\NC 123
19\NC 123
20\NC 123
21\NC\AR
22\NC 1
23\NC 1
24\NC 1
25\NC 1
26\NC\AR
27\HL
28\stoptable
30Simple table without caption:
32\placetable[none]{}
33\starttable[|r|l|c|l|]
34\HL
35\NC Right
36\NC Left
37\NC Center
38\NC Default
39\NC\AR
40\HL
41\NC 12
42\NC 12
43\NC 12
44\NC 12
45\NC\AR
46\NC 123
47\NC 123
48\NC 123
49\NC 123
50\NC\AR
51\NC 1
52\NC 1
53\NC 1
54\NC 1
55\NC\AR
56\HL
57\stoptable
59Simple table indented two spaces:
61\placetable{Demonstration of simple table syntax.}
62\starttable[|r|l|c|l|]
63\HL
64\NC Right
65\NC Left
66\NC Center
67\NC Default
68\NC\AR
69\HL
70\NC 12
71\NC 12
72\NC 12
73\NC 12
74\NC\AR
75\NC 123
76\NC 123
77\NC 123
78\NC 123
79\NC\AR
80\NC 1
81\NC 1
82\NC 1
83\NC 1
84\NC\AR
85\HL
86\stoptable
88Multiline table with caption:
90\placetable{Here's the caption. It may span multiple lines.}
91\starttable[|cp(0.15\textwidth)|lp(0.14\textwidth)|rp(0.16\textwidth)|lp(0.34\textwidth)|]
92\HL
93\NC Centered Header
94\NC Left Aligned
95\NC Right Aligned
96\NC Default aligned
97\NC\AR
98\HL
99\NC First
100\NC row
101\NC 12.0
102\NC Example of a row that spans multiple lines.
103\NC\AR
104\NC Second
105\NC row
106\NC 5.0
107\NC Here's another one. Note the blank line between rows.
108\NC\AR
109\HL
110\stoptable
112Multiline table without caption:
114\placetable[none]{}
115\starttable[|cp(0.15\textwidth)|lp(0.14\textwidth)|rp(0.16\textwidth)|lp(0.34\textwidth)|]
116\HL
117\NC Centered Header
118\NC Left Aligned
119\NC Right Aligned
120\NC Default aligned
121\NC\AR
122\HL
123\NC First
124\NC row
125\NC 12.0
126\NC Example of a row that spans multiple lines.
127\NC\AR
128\NC Second
129\NC row
130\NC 5.0
131\NC Here's another one. Note the blank line between rows.
132\NC\AR
133\HL
134\stoptable
136Table without column headers:
138\placetable[none]{}
139\starttable[|r|l|c|r|]
140\HL
141\NC 12
142\NC 12
143\NC 12
144\NC 12
145\NC\AR
146\NC 123
147\NC 123
148\NC 123
149\NC 123
150\NC\AR
151\NC 1
152\NC 1
153\NC 1
154\NC 1
155\NC\AR
156\HL
157\stoptable
159Multiline table without column headers:
161\placetable[none]{}
162\starttable[|cp(0.15\textwidth)|lp(0.14\textwidth)|rp(0.16\textwidth)|lp(0.34\textwidth)|]
163\HL
164\NC First
165\NC row
166\NC 12.0
167\NC Example of a row that spans multiple lines.
168\NC\AR
169\NC Second
170\NC row
171\NC 5.0
172\NC Here's another one. Note the blank line between rows.
173\NC\AR
174\HL
175\stoptable