[問題] list裡面能放表格嗎?
想要效果: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
討論串 (同標題文章)
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章