1 | AsciiDoc Old Tables |
---|
2 | =================== |
---|
3 | |
---|
4 | Examples of the AsciiDoc 'old tables' syntax. This syntax was used in |
---|
5 | AsciiDoc versions up to 8.2.7 and has since been deprecated in favor |
---|
6 | of the 'new tables' syntax. |
---|
7 | |
---|
8 | Simple table: |
---|
9 | |
---|
10 | `---`--- |
---|
11 | 1 2 |
---|
12 | 3 4 |
---|
13 | 5 6 |
---|
14 | -------- |
---|
15 | |
---|
16 | Table with title, header and footer: |
---|
17 | |
---|
18 | .An example table |
---|
19 | [grid="all"] |
---|
20 | `-----------.-------------- |
---|
21 | Column 1 Column 2 |
---|
22 | --------------------------- |
---|
23 | 1 Item 1 |
---|
24 | 2 Item 2 |
---|
25 | 3 Item 3 |
---|
26 | --------------------------- |
---|
27 | 6 Three items |
---|
28 | --------------------------- |
---|
29 | |
---|
30 | Four columns totaling 15% of the 'pagewidth', CSV data: |
---|
31 | |
---|
32 | [frame="all"] |
---|
33 | ````~15 |
---|
34 | 1,2,3,4 |
---|
35 | a,b,c,d |
---|
36 | A,B,C,D |
---|
37 | ~~~~~~~~ |
---|
38 | |
---|
39 | A table with a numeric ruler and externally sourced CSV data: |
---|
40 | |
---|
41 | [frame="all", grid="all"] |
---|
42 | `15`20`25`20`~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
43 | ID,Customer Name,Contact Name,Customer Address,Phone |
---|
44 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
45 | "AROUT","Around the Horn","Thomas Hardy","120 Hanover Sq. |
---|
46 | London","(171) 555-7788" |
---|
47 | "BERGS","Berglunds snabbkop","Christina Berglund","Berguvsvagen 8 |
---|
48 | Lulea","0921-12 34 65" |
---|
49 | "BLAUS","Blauer See Delikatessen","Hanna Moos","Forsterstr. 57 |
---|
50 | Mannheim","0621-08460" |
---|
51 | "BLONP","Blondel pere et fils","Frederique Citeaux","24, place Kleber |
---|
52 | Strasbourg","88.60.15.31" |
---|
53 | "BOLID","Bolido Comidas preparadas","Martin Sommer","C/ Araquil, 67 |
---|
54 | Madrid","(91) 555 22 82" |
---|
55 | "BONAP","Bon app'","Laurence Lebihan","12, rue des Bouchers |
---|
56 | Marseille","91.24.45.40" |
---|
57 | "BOTTM","Bottom-Dollar Markets","Elizabeth Lincoln","23 Tsawassen Blvd. |
---|
58 | Tsawassen","(604) 555-4729" |
---|
59 | "BSBEV","B's Beverages","Victoria Ashworth","Fauntleroy Circus |
---|
60 | London","(171) 555-1212" |
---|
61 | "CACTU","Cactus Comidas para llevar","Patricio Simpson","Cerrito 333 |
---|
62 | Buenos Aires","(1) 135-5555" |
---|
63 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
---|
64 | |
---|