看板 LaTeX 關於我們 聯絡資訊
不好意思借用一下標題 因為想再請教一個關於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)