将宽表拆分为多行

将宽表拆分为多行

我一直在寻找,发现了很多方法可以将高表拆分成多个页面,但没有办法将宽表拆分成多行。

基本上,我有这个:

Some paragraph of a certain width which is narrower than the table.
The table is even wider than the page, by a lot.

----------------------------------------------------------------------------------------------------------------------------------------------
| Label  | A | B | C | A | B | C | A | B | C | A | B | C | A | B | C | A | B | C | A | B | C | A | B | C | A | B | C | A | B | C | A | B | C |
----------------------------------------------------------------------------------------------------------------------------------------------
| Values | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 |
----------------------------------------------------------------------------------------------------------------------------------------------

但我想要的是这个:

Some paragraph of a certain width which is narrower than the table.
The table is even wider than the page, by a lot. This table splits 
itself over multiple rows however as to not expand into the margins
sort of like the \split environment for equations.

--------------------------------------------------------------
| Label  | A | B | C | A | B | C | A | B | C | A | B | C | A 
-------------------------------------------------------------- ...
| Values | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 
--------------------------------------------------------------

    ---------------------------------------------------------
    | B | C | A | B | C | A | B | C | A | B | C | A | B | C 
... --------------------------------------------------------- ...
    | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 
    ---------------------------------------------------------

                                        -------------------------
                                        | A | B | C | A | B | C |
                                    ... -------------------------
                                        | 1 | 2 | 3 | 1 | 2 | 3 |
                                        -------------------------

这可能吗?是否也可以控制分割行为。也就是说,列之间的垂直线应该出现在分割之前、之后、两侧还是不在分割处。谢谢!

相关内容