我怎样才能将对齐的行完美地分到各个页面?

我怎样才能将对齐的行完美地分到各个页面?

我正在尝试打印大型表格以供自己使用(我使用的是 Plain TeX 和 eplain)。它们是出版物表格,我只想查看它们。每个表格的行数不定,可能有数百行。由于行中包含大量内容,因此页面需要横向显示。

我的问题是,下面代码的输出缺少表格底部的行。我希望 TeX 插入分页符并在下一页继续行。我该怎么做?

值得一提的是,Advanced TeXbook 表示分页应该自然发生;而 TeX by Topic 则谈到必须采取特殊措施来阻止分页。我什么都没做,但仍然没有分页。

\input eplain

{
%% sets up the output page so it's landscape
\paperheight = 8.5truein
\paperwidth = 11truein
\pdfpageheight = 8.5truein
\pdfpagewidth = 11truein
\leftmargin = .1in
\rightmargin = .1in
\hsize = 10.8in
\vsize = 8in

\def\raggedcenter{\leftskip=0pt plus4em \rightskip=\leftskip%
  \parfillskip=0pt \spaceskip=.3333em \xspaceskip=.5em
  \pretolerance=9999 \tolerance=9999 \parindent=0pt
  \hyphenpenalty=9999 \exhyphenpenalty=9999}

\font\rm=pplr7t at 8pt
\font\it=pplri7t at 8pt
\font\sc=cmcsc10 at 8pt
\font\tt=pltt10 at 7pt
\font\entryfont=cmr8
\font\headerfont=cmr10

\rm

{\raggedcenter Symbolic Execution

}\vskip 10pt

\newdimen\hsizecol
\hsizecol=\hsize
\divide\hsizecol by4
\baselineskip=9pt
\tabskip=0pt\halign to \hsize{%
%% cite key
  \raggedcenter\tt#\hbox to 10pt{}&
%% authors
  \tabskip=0pt plus 1fil\vbox{\hsize=\hsizecol\raggedcenter#}&
%% title
  \raggedcenter\it#\hbox to 10pt{}&
%% other tags
  \raggedcenter#\tabskip=0pt\cr
%
  \headerfont Cite Key&
  \headerfont Authors&
  \headerfont Title&
  \headerfont Tags\hfil\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
%
  \noalign{\hrule}
  Anand+:TACAS2008&
  Saswat Anand and Patrice Godefroid and Nikolai Tillmann&
  Demand-Driven Compositional Symbolic Execution&
  hi\cr
}}\bye

答案1

看起来您还没有考虑到\hoffset如果您希望测量页面大小和边距的原点位于页面的角落而不是 1 英寸,\voffset您需要设置哪个。(如果您将该默认英寸添加到您的页面大小中,您会看到它大于您设置的 pdf 页面大小,因此它会被裁剪。)-1in\vsize\hsize

{另外,您在开头有一个虚假的内容,它会产生关于\end在文档末尾属于一个组的错误。

啊,主要问题实际上是规则阻止了分页。更改

\hrule

 \hrule\penalty-5

在每种情况下。

相关内容