我在 Latex 中制作了一个表格longtable,但它太长,无法在一页中显示,如何插入分页符以将表格继续到下一页?
我尝试过 \pagebreak 但它不起作用......

这是代码:
\begin{table} [h]
\footnotesize
\setlength\LTleft{-30pt}
\setlength\LTright{-30pt}
\caption{ Communicate static definition}
\centering
\begin{longtable}{@{\extracolsep{\fill}}c c c c@{}}
\hline\hline %inserts double horizontal lines
Segment & Meaning & Usage & Card.\\ [0.5ex]
\hline
MSH & Message Header & R & [1..1]\\
[{SFT}] & Software Segment & X & [0..0]\\
\{ & PATIENT RESULT begin & & \\ \relax
[ & PATIENT BEGIN & & \\
PID & Patient Identification & R & [1..1]\\ \relax
[PID1] & …Run Code Online (Sandbox Code Playgroud)