1
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
%%%%%

\newtheorem{defi}{definition}[subsection]

\newtheorem{defis}{definition}[defi]

hi guys the code above gives me this

 definition 1.1.1
balabalbal
 definitions 1.1.1.1
blablalbalbal

i want to get

 definition 1.1.1
balabalbal
 definitions 1.1.2
blablalbalbal
muzimuzhi Z
  • 26,474

1 Answers1

0

As per egreg's comment.

The optional argument must be in a different place: \newtheorem{defis}[defi]{Definitions}.