Re: [問題] 圖表位置

看板LaTeX (論文排版)作者 (LSC)時間14年前 (2011/11/09 09:48), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/7 (看更多)
\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
文章代碼(AID): #1EkTm0BV (LaTeX)
文章代碼(AID): #1EkTm0BV (LaTeX)