作者subeyes (嘿)
看板LaTeX
标题Re: [问题] \newtheorem
时间Tue Oct 30 18:21:40 2007
不好意思借用一下标题
因为想再请教一个关於newtheorem的问题
我现在定义了一个example的thoerem如下:
\newtheorem{example}{\rule{0.9\textwidth}{0.1em}\\Example}[section]
这样使用\begin{example}... \end{example}会出现的是像这样:
------------------------------
Example x.x ......
现在想在example结束时也加画一条像上面那样的横线
该怎麽做呢?
目前想到的方法是再定义一个environment把这个example包住
再在结尾加上一条横线
不知道有没有别的方法是不用定义新的environment就可以做到的呢? 谢谢:)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.114.26.160
※ 编辑: subeyes 来自: 140.114.26.160 (10/30 20:10)