看板 LaTeX 關於我們 聯絡資訊
※ 引述《math99 (math99)》之銘言: : 我的問題是這樣: : 我想要打一個定理,下面有個一條線 : Thoerem 12. : ───── : 我想要把線延伸到編號上面,請問要怎麼做,謝謝! 有一個作弊的方法,個人不是非常喜歡。可以再想想別的方法。 \documentclass{article} \usepackage{amsthm} \theoremstyle{plain} \newtheorem{thm}{\underline{\textrm{Theorem}}} \renewcommand{\thethm}{\hspace*{-1.3mm}\underline{\ \arabic{thm}}} \begin{document} \begin{thm} TEST \end{thm} \end{document} 所謂的作弊指的是Theorem 和 數字 兩底線透過 \hspace 平移後連在一起, 然後之後用一個 \ 製造一個空白。 == 可以研究一下 amsthm.sty 修改之。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.187.15.191 ※ 編輯: roloc 來自: 218.187.15.191 (03/22 23:28) ※ 編輯: roloc 來自: 218.187.15.191 (03/22 23:33)
math99:thank you 03/23 17:49