Re: [問題] 圖表位置
\begin{table}[tb]
\begin{threeparttable}
\caption{name}\label{name}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}lcccc}
\toprule \toprule
a & \multicolumn{2}{c}{b} & \multicolumn{2}{c}{c} \\
\cmidrule(r){2-3}\cmidrule(l){4-5}
d & e & f & g & h \\
\midrule
i & j & k & l & m \\
.
.
.
.
n & o & p & \multicolumn{2}{c}{q} \\
\bottomrule \bottomrule
\multicolumn{5}{l}{\footnotesize{r}} \\ [-2pt]
\\
\end{tabular*}
\end{threeparttable}
\end{table}
\begin{landscape}
\begin{table}
\begin{longtable}[p]{lm{2.6cm}m{2.6cm}m{2.6cm}m{2.6cm}m{2.6cm}m{2.6cm}}
\caption{name.}\label{name}\\
\toprule \toprule
a & \multicolumn{2}{c}{b} & \multicolumn{2}{c}{c} & \multicolumn{2}{c}{d} \\
\cmidrule(r){2-3}\cmidrule(lr){4-5}\cmidrule(l){6-7}
e & f & g & h & i & j & k \\
\midrule
\endfirsthead
\caption[]{continued}\\
\midrule
a & \multicolumn{2}{c}{b} & \multicolumn{2}{c}{c} & \multicolumn{2}{c}{d} \\
\cmidrule(r){2-3}\cmidrule(lr){4-5}\cmidrule(l){6-7}
e & f & g & h & i & j & k \\
\midrule
\endhead
\midrule
\endfoot
表格內容....
\bottomrule \bottomrule
\end{longtable}
\end{table}
\end{landscape}
請加上藍字部分!
只有用了
\begin{table}
\end{table}
才會產生真正的float,[htbp]才會生效。
同樣,只有float才會獨立於本文單獨排版,
才不會有空白。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.61.41.36
討論串 (同標題文章)
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章