作者alfadick (悟道修行者)
看板LaTeX
标题Re: [问题] list里面能放表格吗?
时间Sat Aug 3 20:52:40 2013
谢谢你的回答,我修改了一下你的写法以吻合我的,
但因我的程式码好像一定会出现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