批踢踢實業坊
›
看板
LaTeX
關於我們
聯絡資訊
返回看板
發信人
LaTeX <albert84317@gmail.com>,
看板
LaTeX
標 題
[問題] theorem 的 counter
發信站
(null) (Sat Aug 10 14:42:09 2013)
轉信站
ptt!news.ntu!ctu-gate!news.nctu!usenet.stanford.edu!fx3no1889185qab.0!
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}