aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/tables-rstsubset.native8
-rw-r--r--test/tables.rst68
2 files changed, 38 insertions, 38 deletions
diff --git a/test/tables-rstsubset.native b/test/tables-rstsubset.native
index 4f095c798..d9bb9f2fb 100644
--- a/test/tables-rstsubset.native
+++ b/test/tables-rstsubset.native
@@ -1,5 +1,5 @@
[Para [Str "Simple",Space,Str "table",Space,Str "with",Space,Str "caption:"]
-,Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.125,0.1125,0.1375,0.15]
+,Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.1,8.75e-2,0.1125,0.125]
[[Plain [Str "Right"]]
,[Plain [Str "Left"]]
,[Plain [Str "Center"]]
@@ -17,7 +17,7 @@
,[Plain [Str "1"]]
,[Plain [Str "1"]]]]
,Para [Str "Simple",Space,Str "table",Space,Str "without",Space,Str "caption:"]
-,Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.125,0.1125,0.1375,0.15]
+,Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.1,8.75e-2,0.1125,0.125]
[[Plain [Str "Right"]]
,[Plain [Str "Left"]]
,[Plain [Str "Center"]]
@@ -35,7 +35,7 @@
,[Plain [Str "1"]]
,[Plain [Str "1"]]]]
,Para [Str "Simple",Space,Str "table",Space,Str "indented",Space,Str "two",Space,Str "spaces:"]
-,Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.125,0.1125,0.1375,0.15]
+,Table [Str "Demonstration",Space,Str "of",Space,Str "simple",Space,Str "table",Space,Str "syntax."] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.1,8.75e-2,0.1125,0.125]
[[Plain [Str "Right"]]
,[Plain [Str "Left"]]
,[Plain [Str "Center"]]
@@ -81,7 +81,7 @@
,[Plain [Str "5.0"]]
,[Plain [Str "Here\8217s",Space,Str "another",Space,Str "one.",SoftBreak,Str "Note",Space,Str "the",Space,Str "blank",Space,Str "line",SoftBreak,Str "between",Space,Str "rows."]]]]
,Para [Str "Table",Space,Str "without",Space,Str "column",Space,Str "headers:"]
-,Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [0.1,0.1,0.1,0.1]
+,Table [] [AlignDefault,AlignDefault,AlignDefault,AlignDefault] [7.5e-2,7.5e-2,7.5e-2,7.5e-2]
[[]
,[]
,[]
diff --git a/test/tables.rst b/test/tables.rst
index eaef50d28..e76c505aa 100644
--- a/test/tables.rst
+++ b/test/tables.rst
@@ -2,41 +2,41 @@ Simple table with caption:
.. table:: Demonstration of simple table syntax.
- +---------+--------+----------+-----------+
- | Right | Left | Center | Default |
- +=========+========+==========+===========+
- | 12 | 12 | 12 | 12 |
- +---------+--------+----------+-----------+
- | 123 | 123 | 123 | 123 |
- +---------+--------+----------+-----------+
- | 1 | 1 | 1 | 1 |
- +---------+--------+----------+-----------+
+ +-------+------+--------+---------+
+ | Right | Left | Center | Default |
+ +=======+======+========+=========+
+ | 12 | 12 | 12 | 12 |
+ +-------+------+--------+---------+
+ | 123 | 123 | 123 | 123 |
+ +-------+------+--------+---------+
+ | 1 | 1 | 1 | 1 |
+ +-------+------+--------+---------+
Simple table without caption:
-+---------+--------+----------+-----------+
-| Right | Left | Center | Default |
-+=========+========+==========+===========+
-| 12 | 12 | 12 | 12 |
-+---------+--------+----------+-----------+
-| 123 | 123 | 123 | 123 |
-+---------+--------+----------+-----------+
-| 1 | 1 | 1 | 1 |
-+---------+--------+----------+-----------+
++-------+------+--------+---------+
+| Right | Left | Center | Default |
++=======+======+========+=========+
+| 12 | 12 | 12 | 12 |
++-------+------+--------+---------+
+| 123 | 123 | 123 | 123 |
++-------+------+--------+---------+
+| 1 | 1 | 1 | 1 |
++-------+------+--------+---------+
Simple table indented two spaces:
.. table:: Demonstration of simple table syntax.
- +---------+--------+----------+-----------+
- | Right | Left | Center | Default |
- +=========+========+==========+===========+
- | 12 | 12 | 12 | 12 |
- +---------+--------+----------+-----------+
- | 123 | 123 | 123 | 123 |
- +---------+--------+----------+-----------+
- | 1 | 1 | 1 | 1 |
- +---------+--------+----------+-----------+
+ +-------+------+--------+---------+
+ | Right | Left | Center | Default |
+ +=======+======+========+=========+
+ | 12 | 12 | 12 | 12 |
+ +-------+------+--------+---------+
+ | 123 | 123 | 123 | 123 |
+ +-------+------+--------+---------+
+ | 1 | 1 | 1 | 1 |
+ +-------+------+--------+---------+
Multiline table with caption:
@@ -70,13 +70,13 @@ Multiline table without caption:
Table without column headers:
-+-------+-------+-------+-------+
-| 12 | 12 | 12 | 12 |
-+-------+-------+-------+-------+
-| 123 | 123 | 123 | 123 |
-+-------+-------+-------+-------+
-| 1 | 1 | 1 | 1 |
-+-------+-------+-------+-------+
++-----+-----+-----+-----+
+| 12 | 12 | 12 | 12 |
++-----+-----+-----+-----+
+| 123 | 123 | 123 | 123 |
++-----+-----+-----+-----+
+| 1 | 1 | 1 | 1 |
++-----+-----+-----+-----+
Multiline table without column headers: