# Empty Pipes

### Multi-Page Vertically Centered Latex Table

• 04 Aug 2015
• |
• latex
• |

Say we wanted to create a latex table that had vertically centered text. Say furthermore that our table was very long and we wanted it to automatically span multiple pages.

Then we might imagine that the table would have a heading…

Followed by an ending at the end of the page…

Which would be continued at the start of the next page…

Such a table can be created using the snippet of code below. It uses the array package for vertically centering the cell text and the longtable package for automatically breaking up the table across multiple pages.

Stack Exchange References: