| 1 |
longtables |
| 2 |
========== |
| 3 |
|
| 4 |
longtable |
| 5 |
--------- |
| 6 |
|
| 7 |
.. table:: |
| 8 |
:class: longtable, borderless |
| 9 |
|
| 10 |
======= ======= |
| 11 |
header1 header2 |
| 12 |
======= ======= |
| 13 |
cell1-1 cell1-2 |
| 14 |
cell2-1 cell2-2 |
| 15 |
cell3-1 cell3-2 |
| 16 |
======= ======= |
| 17 |
|
| 18 |
longtable having widths option |
| 19 |
------------------------------ |
| 20 |
|
| 21 |
.. _mylongtable: |
| 22 |
|
| 23 |
.. table:: |
| 24 |
:class: longtable |
| 25 |
:widths: 30,70 |
| 26 |
:name: namedlongtable |
| 27 |
|
| 28 |
======= ======= |
| 29 |
header1 header2 |
| 30 |
======= ======= |
| 31 |
cell1-1 cell1-2 |
| 32 |
cell2-1 cell2-2 |
| 33 |
cell3-1 cell3-2 |
| 34 |
======= ======= |
| 35 |
|
| 36 |
See mylongtable_, same as :ref:`this one <namedlongtable>`. |
| 37 |
|
| 38 |
longtable having align option |
| 39 |
----------------------------- |
| 40 |
|
| 41 |
.. table:: |
| 42 |
:align: right |
| 43 |
:class: longtable |
| 44 |
|
| 45 |
======= ======= |
| 46 |
header1 header2 |
| 47 |
======= ======= |
| 48 |
cell1-1 cell1-2 |
| 49 |
cell2-1 cell2-2 |
| 50 |
cell3-1 cell3-2 |
| 51 |
======= ======= |
| 52 |
|
| 53 |
longtable with tabularcolumns |
| 54 |
----------------------------- |
| 55 |
|
| 56 |
.. tabularcolumns:: |c|c| |
| 57 |
|
| 58 |
.. table:: |
| 59 |
:class: longtable |
| 60 |
|
| 61 |
======= ======= |
| 62 |
header1 header2 |
| 63 |
======= ======= |
| 64 |
cell1-1 cell1-2 |
| 65 |
cell2-1 cell2-2 |
| 66 |
cell3-1 cell3-2 |
| 67 |
======= ======= |
| 68 |
|
| 69 |
longtable having caption |
| 70 |
------------------------ |
| 71 |
|
| 72 |
.. list-table:: caption for longtable |
| 73 |
:class: longtable |
| 74 |
:header-rows: 1 |
| 75 |
|
| 76 |
* - header1 |
| 77 |
- header2 |
| 78 |
* - cell1-1 |
| 79 |
- cell1-2 |
| 80 |
* - cell2-1 |
| 81 |
- cell2-2 |
| 82 |
* - cell3-1 |
| 83 |
- cell3-2 |
| 84 |
|
| 85 |
longtable having verbatim |
| 86 |
------------------------- |
| 87 |
|
| 88 |
.. list-table:: |
| 89 |
:class: longtable |
| 90 |
:header-rows: 1 |
| 91 |
|
| 92 |
* - header1 |
| 93 |
- header2 |
| 94 |
* - :: |
| 95 |
|
| 96 |
hello world |
| 97 |
|
| 98 |
- cell1-2 |
| 99 |
* - cell2-1 |
| 100 |
- cell2-2 |
| 101 |
* - cell3-1 |
| 102 |
- cell3-2 |
| 103 |
|
| 104 |
longtable having formerly problematic |
| 105 |
------------------------------------- |
| 106 |
|
| 107 |
.. list-table:: |
| 108 |
:class: longtable |
| 109 |
:header-rows: 1 |
| 110 |
|
| 111 |
* - header1 |
| 112 |
- header2 |
| 113 |
* - + item1 |
| 114 |
+ item2 |
| 115 |
- cell1-2 |
| 116 |
* - cell2-1 |
| 117 |
- cell2-2 |
| 118 |
* - cell3-1 |
| 119 |
- cell3-2 |
| 120 |
|
| 121 |
longtable having widths and formerly problematic |
| 122 |
------------------------------------------------ |
| 123 |
|
| 124 |
.. list-table:: |
| 125 |
:class: longtable |
| 126 |
:header-rows: 1 |
| 127 |
:widths: 30,70 |
| 128 |
|
| 129 |
* - header1 |
| 130 |
- header2 |
| 131 |
* - + item1 |
| 132 |
+ item2 |
| 133 |
- cell1-2 |
| 134 |
* - cell2-1 |
| 135 |
- cell2-2 |
| 136 |
* - cell3-1 |
| 137 |
- cell3-2 |
| 138 |
|
| 139 |
longtable having stub columns and formerly problematic |
| 140 |
------------------------------------------------------ |
| 141 |
|
| 142 |
.. list-table:: |
| 143 |
:class: longtable |
| 144 |
:header-rows: 1 |
| 145 |
:stub-columns: 2 |
| 146 |
|
| 147 |
* - header1 |
| 148 |
- header2 |
| 149 |
- header3 |
| 150 |
* - + instub1-1a |
| 151 |
+ instub1-1b |
| 152 |
- instub1-2 |
| 153 |
- notinstub1-3 |
| 154 |
* - cell2-1 |
| 155 |
- cell2-2 |
| 156 |
- cell2-3 |
| 157 |
|
| 158 |
longtable with multirow cell near page footer |
| 159 |
--------------------------------------------- |
| 160 |
|
| 161 |
.. |lorem| replace:: |
| 162 |
|
| 163 |
Lorem ipsum dolor sit amet consectetur adipiscing elit. Quisque faucibus ex |
| 164 |
sapien vitae pellentesque sem placerat. In id cursus mi pretium tellus duis |
| 165 |
convallis. Tempus leo eu aenean sed diam urna tempor. Pulvinar vivamus |
| 166 |
fringilla lacus nec metus bibendum egestas. Iaculis massa nisl malesuada |
| 167 |
lacinia integer nunc posuere. Ut hendrerit semper vel class aptent taciti |
| 168 |
sociosqu. Ad litora torquent per conubia nostra inceptos himenaeos. |
| 169 |
|
| 170 |
table having ... |
| 171 |
|
| 172 |
* consecutive multirow near footer |
| 173 |
|
| 174 |
.. raw:: latex |
| 175 |
|
| 176 |
\newpage |
| 177 |
\vspace*{\dimeval{\textheight - 5\baselineskip}} |
| 178 |
|
| 179 |
.. rst-class:: longtable |
| 180 |
|
| 181 |
+-----------+-----------+ |
| 182 |
| |lorem| | Cell 1 | |
| 183 |
| +-----------+ |
| 184 |
| | Cell 2 | |
| 185 |
| +-----------+ |
| 186 |
| | Cell 3 | |
| 187 |
| +-----------+ |
| 188 |
| | Cell 4 | |
| 189 |
| +-----------+ |
| 190 |
| | Cell 5 | |
| 191 |
| +-----------+ |
| 192 |
| | Cell 6 | |
| 193 |
| +-----------+ |
| 194 |
| | Cell 7 | |
| 195 |
| +-----------+ |
| 196 |
| | Cell 8 | |
| 197 |
| +-----------+ |
| 198 |
| | Cell 9 | |
| 199 |
| +-----------+ |
| 200 |
| | Cell 10 | |
| 201 |
| +-----------+ |
| 202 |
| | Cell 11 | |
| 203 |
| +-----------+ |
| 204 |
| | Cell 12 | |
| 205 |
| +-----------+ |
| 206 |
| | Cell 13 | |
| 207 |
| +-----------+ |
| 208 |
| | Cell 14 | |
| 209 |
| +-----------+ |
| 210 |
| | Cell 15 | |
| 211 |
| +-----------+ |
| 212 |
| | Cell 16 | |
| 213 |
+-----------+-----------+ |
| 214 |
| |lorem| | | |
| 215 |
+-----------+-----------+ |
| 216 |
| |lorem| | | |
| 217 |
+-----------+-----------+ |
| 218 |
| |lorem| | | |
| 219 |
+-----------+-----------+ |
| 220 |
| |lorem| | | |
| 221 |
+-----------+-----------+ |
| 222 |
| |lorem| | | |
| 223 |
+-----------+-----------+ |
| 224 |
| |lorem| | | |
| 225 |
+-----------+-----------+ |
| 226 |
| |lorem| | | |
| 227 |
+-----------+-----------+ |