سلام
من میخوام شماره فصل و تعاریف و قضایا به صورت زیر شود:
فصل 1
بخش 1.1
تعریف 1.1
تعریف 2.1
لم 3.1
بخش 2.1
تعریف 4.1
قضیه 5.1
لم 6.1
بخش 3.1
فصل 2
بخش 1.2
تعریف 1.2
تعریف 2.2
لم 3.2
چیزی که الان دارم به صورت بسیار عجیبی به این صورت هست:
فصل 1
بخش 1.1
تعریف 1,1
تعریف 1,2
لم 1,3
بخش 2.1
تعریف 1,4
قضیه 1,5
لم 1,6
بخش 3.1
فصل 2
بخش 1.2
تعریف 2,1
تعریف 2,2
لم 2,3
بخش 2.2
بخش 3.2
باید تعریف محیطهای قضیه و ... بعد از زیپرشین باشد.
\usepackage{xepersian}
\settextfont[Scale=1.2]{XB Niloofar}
\setlatintextfont{Times New Roman}
\setdigitfont{Yas}
\newtheoremstyle{mystyle} % Theorem style name
{7pt} % Space above
{7pt} % Space below
{\normalfont} % Body font
{} % Indent amount
{\bf} % Theorem head font
{.\;\;} % Punctuation after theorem head
{0.25em} % Space after theorem head
{}
\theoremstyle{mystyle}
\newtheorem{theorem}{قضیه}[chapter]
\newtheorem{lemma}[theorem]{لم}
\newtheorem{definition}[theorem]{تعریف}
\newtheorem{example}[theorem]{مثال}
\newtheorem{proofT}[theorem]{برهان}
\newtheorem{corollary}[theorem]{نتیجه}
\newtheorem{mention}[theorem]{تذکر}
\newtheorem{remark}[theorem]{نکته}