aboutsummaryrefslogtreecommitdiff
path: root/test/tables.ms
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2021-07-17 18:10:34 +0200
committerIgor Pashev <pashev.igor@gmail.com>2021-07-17 18:46:16 +0200
commit48459559a13a20083fc9b31eb523b8ea2bf0a63f (patch)
tree1c04e75709457403110a6f8c5c90099f22369de3 /test/tables.ms
parent0c39509d9b6a58958228cebf5d643598e5c98950 (diff)
parent46099e79defe662e541b12548200caf29063c1c6 (diff)
downloadpandoc-48459559a13a20083fc9b31eb523b8ea2bf0a63f.tar.gz
Merge branch 'master' of https://github.com/jgm/pandoc
Diffstat (limited to 'test/tables.ms')
-rw-r--r--test/tables.ms44
1 files changed, 44 insertions, 0 deletions
diff --git a/test/tables.ms b/test/tables.ms
index 90662aaad..21183a5eb 100644
--- a/test/tables.ms
+++ b/test/tables.ms
@@ -2,6 +2,7 @@
Simple table with caption:
.PP
Demonstration of simple table syntax.
+.na
.TS
delim(@@) tab( );
r l c l.
@@ -43,9 +44,11 @@ T} T{
1
T}
.TE
+.ad
.LP
Simple table without caption:
.PP
+.na
.TS
delim(@@) tab( );
r l c l.
@@ -87,10 +90,12 @@ T} T{
1
T}
.TE
+.ad
.LP
Simple table indented two spaces:
.PP
Demonstration of simple table syntax.
+.na
.TS
delim(@@) tab( );
r l c l.
@@ -132,10 +137,13 @@ T} T{
1
T}
.TE
+.ad
.LP
Multiline table with caption:
.PP
Here\[cq]s the caption. It may span multiple lines.
+.na
+.nr LLold \n[LL]
.TS
delim(@@) tab( );
cw(10.5n) lw(9.6n) rw(11.4n) lw(24.5n).
@@ -150,28 +158,40 @@ Default aligned
T}
_
T{
+.nr LL 10.5n
First
T} T{
+.nr LL 9.6n
row
T} T{
+.nr LL 11.4n
12.0
T} T{
+.nr LL 24.5n
Example of a row that spans multiple lines.
T}
T{
+.nr LL 10.5n
Second
T} T{
+.nr LL 9.6n
row
T} T{
+.nr LL 11.4n
5.0
T} T{
+.nr LL 24.5n
Here\[cq]s another one.
Note the blank line between rows.
T}
.TE
+.nr LL \n[LLold]
+.ad
.LP
Multiline table without caption:
.PP
+.na
+.nr LLold \n[LL]
.TS
delim(@@) tab( );
cw(10.5n) lw(9.6n) rw(11.4n) lw(24.5n).
@@ -186,28 +206,39 @@ Default aligned
T}
_
T{
+.nr LL 10.5n
First
T} T{
+.nr LL 9.6n
row
T} T{
+.nr LL 11.4n
12.0
T} T{
+.nr LL 24.5n
Example of a row that spans multiple lines.
T}
T{
+.nr LL 10.5n
Second
T} T{
+.nr LL 9.6n
row
T} T{
+.nr LL 11.4n
5.0
T} T{
+.nr LL 24.5n
Here\[cq]s another one.
Note the blank line between rows.
T}
.TE
+.nr LL \n[LLold]
+.ad
.LP
Table without column headers:
.PP
+.na
.TS
delim(@@) tab( );
r l c r.
@@ -239,29 +270,42 @@ T} T{
1
T}
.TE
+.ad
.LP
Multiline table without column headers:
.PP
+.na
+.nr LLold \n[LL]
.TS
delim(@@) tab( );
cw(10.5n) lw(9.6n) rw(11.4n) lw(24.5n).
T{
+.nr LL 10.5n
First
T} T{
+.nr LL 9.6n
row
T} T{
+.nr LL 11.4n
12.0
T} T{
+.nr LL 24.5n
Example of a row that spans multiple lines.
T}
T{
+.nr LL 10.5n
Second
T} T{
+.nr LL 9.6n
row
T} T{
+.nr LL 11.4n
5.0
T} T{
+.nr LL 24.5n
Here\[cq]s another one.
Note the blank line between rows.
T}
.TE
+.nr LL \n[LLold]
+.ad