看板 LaTeX 關於我們 聯絡資訊
https://bit.ly/3cVLPbE 觀念幫你提一下。 1. tabular 裡面在 \\ 換列之前,養成習慣一定要剛好塞滿一開始設定的欄數, 無論有沒有用到 multicolumn。 2. p{1.2cm} 的用法剛好適合用在你的 "Input:" 和 "Output:", 可以手動控制這個欄的寬度。 當然,不用也可以(讓系統自己決定寬度,或是由其它方法控制)。 3. 按booktabs的設計,第二個\toprule可以改用\midrule。 (我忘了改喔。) ※ 引述《louisshih (老牧師4ni)》之銘言: : https://i.imgur.com/KYbbL6g.jpg
: 如題如圖 : 小弟自己是打到這邊 : \begin{table}[!t] : \centering : \caption{Table to test captions and labels.} : \begin{tabular}{ l l l l l } : \toprule : Input: & \multicolumn{4}{l}{Tap weight vector}\\ : & \multicolumn{4}{l}{input vector} \\ : & \multicolumn{4}{l}{and desired output}\\ : Output: & \multicolumn{4}{l}{Filter output}\\ : & \multicolumn{4}{l}{tap-weight vector update}\\ : \toprule : \multicolumn{1}{l}{1. Filtering:}\\ : \multicolumn{5}{c}{$y(n) = \mathbf{w}^T(n) \mathbf{x}(n)$}\\ : \multicolumn{1}{l}{2. Error estimation:}\\ : \multicolumn{5}{c}{Eq}\\ : \multicolumn{1}{l}{3. Tap-weight vector adaption:}\\ : \multicolumn{5}{c}{Eq}\\ : \bottomrule : \end{tabular} : \label{table:test00} : \end{table} : 但努力過後還是打不出來 : 跑出來的格式很奇怪 : 麻煩各路大神幫忙解惑一下 : 非常感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.42.175.162 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/LaTeX/M.1624185635.A.21F.html