mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
This is cosmetic as the blank line starting varwidth environment used for merged table cells in latex output changed nothing to PDF. Nevertheless I extended a unit test to have a multi-paragraph merged cell using varwidth. What is important is that \sphinxAtStartPar line itself is never followed by blank line.
36 lines
1.0 KiB
ReStructuredText
36 lines
1.0 KiB
ReStructuredText
complex tables
|
|
==============
|
|
|
|
grid table
|
|
----------
|
|
|
|
+---------+---------+---------+
|
|
| header1 | header2 | header3 |
|
|
+=========+=========+=========+
|
|
| cell1-1 | cell1-2 | cell1-3 |
|
|
+---------+ +---------+
|
|
| cell2-1 | | cell2-3 |
|
|
+ +---------+---------+
|
|
| | cell3-2-par1 |
|
|
+---------+ |
|
|
| cell4-1 | cell3-2-par2 |
|
|
+---------+---------+---------+
|
|
| cell5-1 |
|
|
+---------+---------+---------+
|
|
|
|
complex spanning cell
|
|
---------------------
|
|
|
|
table having ...
|
|
|
|
* consecutive multirow at top of row (1-1 and 1-2)
|
|
* consecutive multirow at end of row (1-4 and 1-5)
|
|
|
|
+-----------+-----------+-----------+-----------+-----------+
|
|
| | | cell1-3 | | |
|
|
| | +-----------+ | cell1-5 |
|
|
| cell1-1 | cell1-2 | | cell1-4 | |
|
|
| | | cell2-3 | +-----------+
|
|
| | | | | cell3-5 |
|
|
+-----------+-----------+-----------+-----------+-----------+
|