Re: [問題] list裡面能放表格嗎?
謝謝你的回答,我修改了一下你的寫法以吻合我的,
但因我的程式碼好像一定會出現minipage裡包著item包著table,
所以一直都編譯不過。我已盡可能實驗了各種排列組合@@。
(其中的\queNumm,\topic是我自己定義的指令)
\newpage
\setcounter{foo}{0}
\topic{涉及一項的絕對值的方程式}
\Num{(5)}\begin{minipage}[t][][t]{18cm}
\begin{list}{\queNum{(\alph{foo})}}{\usecounter{foo}\itemsep = 2pt\leftmargin
= 2em}
\item 試解下列各方程式:$|x-3|=5$,$|2x-5|=11$,$|x^2-x+3|=4x-1$。
\item 設$a,~x$均為實數,試解$(a-2)x=a^2-4$,$(a-2)x>a^{2}-4$,$(a^2-1)x>a+1$。
\item 設$|3x-a|=b$之解為$x=3$或$-1$,則$a,~b=$?
\end{list}
\end{minipage}
\vspace{7cm}
\setcounter{foo}{0}
\topic{涉及一項的絕對值的不等式}
\Num{(6)}\begin{minipage}[t][][t]{18cm}
\begin{list}{}{\usecounter{foo}\itemsep = 2pt\leftmargin = 1ex}
\item 試解下列各不等式:\\
%\vspace{-1cm}
%\begin{table}[htbp]
% \centering
% \fcolorbox{red}{white}{
% \begin{tabular}{lllll}
% $|x|\leq4$ & $|x|\geq 3$ & $0\leq|x|<3$ & $|x|\geq-2$ & \\
% $|x-5|\leq3$ & $|2x-1|\leq4$ & $|x+2|\geq3$ & $|1-3x|\geq2$ & \\
% $|-4x+7|\geq 0$ & $|2-2x|>0$ & $|x-3|\leq0$ & $4\leq|2x+3|\leq21$ & \\
% $3<|3x-2|\leq8$ & $|x^2+x+1|<3 $ & & & \\
% \end{tabular}%
% }
% \label{tab:addlabel}%
%\end{table}%
\end{list}
\end{minipage}
效果:http://ppt.cc/Y0NX
因為希望有:
(4)(a) 請問...
(b) 請問..
(5)(a) xxxxx
(b) xxxxx
(c) xxxxxx
(6)試解下列方程式
(1) xxxx (2) xxxxxxxxxxxx (3)x
(4) yyy (5) yyyy (6)yyyyyyyyy
之類的效果,因此需要minipage以製造(a)(b)(c)題號縮排。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.44.250.28
討論串 (同標題文章)
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章