※ 引述《LaTeX <[email protected]>, 看板: LaTeX》之銘言:
: Is this what you want?
: \section{Testing}
: \begin{exercise}
: Ex1
: \end{exercise}
: \begin{answer}
: Ans1
: \end{answer}
: \renewcommand{\theanswer}{\theexercise} <---
: \begin{exercise}
: Ex2
: \end{exercise}
: \begin{answer}
: Ans2
: \end{answer}
好像不是我要的
我要
\begin{exercise}
......
\begin{answer}
\end{answer}
\end{exercise}
就是把 answer 放在 exercise 裡面
我不知道該如何讓它們兩個用同樣的 counter 數字
也就是同一組的 exercise 及 answer 的計數必須相同
總而言之搞不出一個好方法
※ 編輯: voyante 來自: 122.147.89.5 (08/11 08:52)