[問題] list裡面能放表格嗎?

看板LaTeX (論文排版)作者 (悟道修行者)時間12年前 (2013/08/03 15:03), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/5 (看更多)
想要效果:http://ppt.cc/tFzT 其中紅色框框以內的題目想用表格,3 row * 4 column,每題都對齊欄位內的左邊 我的code是這樣: \setcounter{foo}{0} \Num{(4)}\begin{minipage}[t][][t]{18cm} \begin{list}{}{\usecounter{foo}\itemsep = 2pt\leftmargin = 1ex} \item Try to solve these equtions:\\ (1)~~$x^2+3x-1=0$~~(2)~~$x^2-1=0$~~(3)~~$3x-1=0$~~(4)~~$x^3+3x-1=0$\\ (5)~~$x^2+3x-1=0$~~(6)~~$x^4+3x-1=0$~~(7)~~$y^2+2y-y=0$~~(8)~~$3x+6y=7$\\ (9)~~$x^2+6x-1=0$ \end{list} \end{minipage} 現在想把「(1)~~$x^2+3x-1=0$~~(2).....」改成table: \begin{table}[htbp] \centering \caption{Add caption} \begin{tabular}{rrrr} \toprule $...$ & $...$ & $...$ & $... \\ (以下兩列略) \bottomrule \end{tabular}% \label{tab:addlabel}% \end{table}% 這code是用軟體產生的。出現三個問題,第一個,\toprule好像沒定義出問題 第二個,拿掉\toprule, \bottomrule之類後,編譯還是錯誤, 他說Float(s) lost 所以我在想說是不是table不能放在minipage裡(最外圍有那個minipage) 還是不能放在item裡。 如果我非要這種效果不可,怎麼辦呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.44.250.28
文章代碼(AID): #1H_Aiq5E (LaTeX)
文章代碼(AID): #1H_Aiq5E (LaTeX)