Re: [問題] 圖表位置
※ 引述《iamexile (E=MC^2)》之銘言:
: 自問自答:)
: 目前找到的方法是 放棄longtable
: 改用簡單的table+rotatebox+tabular*
: 將原本兩頁的表格自行拆成兩個表格
: 這樣就幾乎能解決所有問題了
: PS. 請問在使用longtable的情況下
: 有辦法解決表格下註釋無法左右對齊的問題嗎?
: 我目前是以multicolumn插進註釋 所以只能靠左
: 或是有人推薦其他跨頁表格的package?
關於 longtable 和 table,我又想了一下,
longtable 永遠都要從新頁開始,
所以根本不需要用 table 來產生 float 的效果。
但是當 landscape 和 longtable 一起使用的時候,
確實會產生一些奇怪的結果!
但是有人解決了。
使用 afterpage 套件:
preamble 增加
\usepackage{afterpage}
然後在插入表格的地方用:
\afterpage{
\begin{landscape}
\begin{longtable}
表格設定與內容
...
\end{longtable}
\end{landscape}
}
就OK了。
關於註解的問題我看不太懂。
一般來說,表格是用來表現資料或數據的,
至於註釋會使用 footnote 的形式來處理。
例如:
---------------------------
A B C
D 1 2 3
---------------------------
如果需要註釋,我會這樣做:
\begin{table}
\begin{tabular}{cccc}
\hline
& A\footnotemark[1] & B\footnotemark[2] & C\footnotemark[3] \\
D\footnotemark[4] & 1 & 2 & 3
\hline
\end{tabular}
\footnotetext[1]{註解一}
\footnotetext[2]{註解二}
\footnotetext[3]{註解三}
\footnotetext[4]{註解四}
\caption{xxxxxx}
\end{table}
輸出的結果會像這樣:
----------------------------------
A^1 B^2 C^3
D^4 1 2 3
----------------------------------
^1 註解一
^2 註解二
^3 註解三
^4 註解四
Table z.y: xxxxxx
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.61.41.36
※ 編輯: LSC112233 來自: 210.61.41.36 (11/12 03:53)
※ 編輯: LSC112233 來自: 210.61.41.36 (11/12 03:54)
討論串 (同標題文章)
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章