Tabular in standard latex is treated as a "box" and cannot be split. The table can only be one page. If the table is too large and exceeds the bottom margin, an overfull vbox error is reported.
Therefore, cross-page display is unavailable.
The macro package supertabular is an extension of tabular environment. After supertabular receives \, it recalculates the available space. If it reaches the page height, it will automatically insert tabeltail, start a new page. The new page is connected by tablehead.
The main Commands used are as follows (note that \ must be added \\)
- \ Tablefirsthead is used to display the first line.
- \ Tablelasttail is used to display the last line.
- \ Tablehead is displayed on the first line of the next page when it is paged.
- \ Tabletail is displayed on the last line of the page when it is paged, but not on the last page.
For details, refer:
\usepackage{supertabular}
\ Begin {center} \ botshortaption {most popular general Linux distributions \ label {most popular general Linux distributions }}%\ tablefirsthead {\ hline \ multicolumn {1} {| c |}{ release version} & \ multicolumn {1} {| c |}{ description} \ hline} \ tablelasttail {\ hline} % \ tablehead {\ hline \ multicolumn {2 }{| c |}{\ small \ sl continued from previous page }\\\ hline \ multicolumn {1 }{| c |}{ release version} & \ multicolumn {1} {| c |}{ description} \ hline} \ tabletail {\ hline \ multicolumn {2 }{| c |}{\ small \ sl continued on next page }\\\ hline }\begin {supertabular }{| p {0.3 \ textwidth} | p {0.6 \ textwidth }|}\ href {www.centos.org} {CentOS} & imitate Red free release of Hat Enterprise Linux \ href {www.debian.org} {Debian} & a popular non-commercial release version \ href {fedora.redhat.com} {Fedora} & from Red release Version \ href {www.gentoo.org} {Gentoo} & source code-based release version \ href {www.mandriva.com} {Mandrivaa} of non-commercial actions in Hat Linux & user-friendly one of the releases \ href {www.opensuse.org} {openSUSE} & imitation SUSE Linux Enterprise free release version \ href {www.redhat.com} {Red Hat Enterprise} & Red Hat Linux commercial release version \ href {www.slackware.com} {Slackware} & stable and basic original release version \ href {www.novell.com/linux}{SUSE Linux Enterprise} & popular in Europe and Asia multilingual release version \ href {www.turbolinux.com} {TurboLinux} & popular multilingual Release versions in Asia \ href {www.ubuntu.com} {Ubuntu} & Cleaned-up version of Debian \\ \ hline \ end {supertabular} \ end {center}