問題與此類似:How to display a content in two-column layout in LaTeX? 但是關於將兩張桌子並排放置。在一列LaTeX環境中並排放置兩張桌子
我有兩個小桌子看起來就像是:
\begin{table}[t]
\begin{tabular}{|c|l||r|r||r|r|}
%content goes here
\end{tabular}
\caption{some caption}
\end{table}
\begin{table}[t]
\begin{tabular}{|c|l||r|r||r|r|}
%content goes here
\end{tabular}
\caption{some caption for second table}
\end{table}
我有一列的文檔,並且這些表是真的狹窄,所以我想顯示他們並排(帶獨立字幕)insted的的一個在另一個下面有很多未使用的白色空間。
我試圖用這個\multicols
做到這一點,但似乎浮動(表格在這裏)不能放在裏面。
任何想法?
編輯
OK,我已經做了這樣的事情:
\begin{table}[h]
\begin{minipage}[b]{80mm}
\begin{tabular}{|c|l||r|r||r|r|}
%//first table goes here
\end{tabular}
\caption{some caption for first table}
\end{minipage}
\begin{minipage}[b]{80mm}
\begin{tabular}{|c|l||r|r||r|r|}
%//second table goes here
\end{tabular}
\caption{some caption for second table}
\end{minipage}
\end{table}
,但該表總是使用盡可能多的空間,因爲它需要,不管我會成立什麼尺寸minipage的。例如,如果我有80毫米的小型文件夾,標題將限制在這80毫米,但表格會更寬。
如果我有兩張桌子,一張桌子太寬了,它不會在第一張桌子旁邊,而是在下面。
有沒有辦法將表限制到指定的寬度?或者強迫他們一個接一個出現?或者,也許如何改變其中一個表的字體大小?
謝謝,我創建了兩個minipages。但我仍然有一些問題。我編輯了我的問題。 – Gacek 2010-06-20 08:59:06