2011-02-12 14 views
0

LaTeXに複数のページにまたがるテーブルがあります。 各ページで上の2つの行が繰り返されるようにします。 どうすればいいですか? hereからLaTeXの各ページで一番上の行を繰り返す方法

+3

LaTeXの質問はスタックオーバーフローに関するトピックにありますが、ほとんどのLaTeXの質問のためにあなたは、おそらくより良いに投稿していますhttp://tex.stackexchange.com/(ユーザーベースが特化されているため)もしaiobeの答えがあなたの望むものなら、これはtex.SEの方が良いでしょう。問題がLaTeXでlongtableのようなマクロを実装する方法であれば、それはトスアップです。 – dmckee

答えて

2

:単一ページより長い

テーブル

[...]

がlongtableとsupertabularの両方が頭部とfootlinesの定義を許可しますテーブルのための; longtableは最初と最後の頭と足の区別を可能にします。

[...]

0

あなたがlongtableパッケージを使用するようになってきました。ここではヘッドの一例です(ソース:http://users.sdsc.edu/~ssmallen/latex/longtable.html

\begin{center} 
\begin{longtable}{|l|l|l|} 
\caption[Feasible triples for a highly variable Grid]{Feasible triples for highly variable Grid, MLMMH.} \label{grid_mlmmh} \\ 

\hline \multicolumn{1}{|c|}{\textbf{Time (s)}} & \multicolumn{1}{c|}{\textbf{Triple chosen}} & \multicolumn{1}{c|}{\textbf{Other feasible triples}} \\ \hline 
\endfirsthead 

\multicolumn{3}{c}% 
{{\bfseries \tablename\ \thetable{} -- continued from previous page}} \\ 
\hline \multicolumn{1}{|c|}{\textbf{Time (s)}} & 
\multicolumn{1}{c|}{\textbf{Triple chosen}} & 
\multicolumn{1}{c|}{\textbf{Other feasible triples}} \\ \hline 
\endhead 

\hline \multicolumn{3}{|r|}{{Continued on next page}} \\ \hline 
\endfoot 

\hline \hline 

%here your table content goes 

\end{longtable} 
\end{center} 

\ endlastfoot

プログラミングの性質を持っている
関連する問題