问:写了7个definition后,这里第8个definition是分开定义的,即编号为8.1,8.2,8.3 。。。怎么样才能做到?
\newtheorem{myDef}{Definition}
答:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
| \documentclass{article}
\usepackage{amsmath} \newtheorem{myDef}{Definition} \newtheorem{subDef}{Definition}[myDef]
\begin{document} \begin{myDef} content... \end{myDef}
\stepcounter{myDef} \begin{subDef} content... \end{subDef} \begin{subDef} content... \end{subDef}
\begin{myDef} content... \end{myDef} \end{document}
|