|
这种情况应该会尔偶碰到,在出现 定理1 后,接着有其类似或对偶定理,不宜写成 定理2 而应写成 定理1$'$ ,甚至还接着有 定理1$''$ 等,这时应该怎么处理最好?
我暂时的解决办法是这样的,如果不超出 $''$ ,那么就另外定义两个定理环境,然后让他们的数字跟着原来的定理另外再加上 $'$ 和 $''$,于是就:
\newtheorem{thm}{定理}
\newtheorem{thmp}{定理}
\newtheorem{thmpp}{定理}
\renewcommand\thethmp{\thethm\ensuremath'}
\renewcommand\thethmpp{\thethm\ensuremath{''}}
然后在用的时候就:- \begin {thm}
- ……
- \end {thm}
- \begin {thmp}
- ……
- \end {thmp}
- \begin {thmpp}
- ……
- \end {thmpp}
复制代码 酱子用。
不知你们有没有更好的方法? |
|