definition numbering like the below output, im getting the default numbering only.
1.1 Lemma 1.2. Proposition
how to do this using in latex
coding:
\documentclass[fleqn]{gsm-l}
\usepackage[]{weblink}
\begin{document}
\setcounter{chapter}{0}
\setcounter{section}{0}
\chapter{LINEAR SPACES}
\begin{proposition}
text
\end{proposition}
\subsection{subsection1}
text
\begin{lemma}
text
\end{lemma}
\begin{corollary}
text
\end{corollary}
\subsection{subsection2}
text
\begin{remark}
text
\end{remark}
\end{document}
Output:
Linear Spaces
Proposition 1.0.1. text
1.0.1. Subsection1. text
lemma 1.0.2. text
corollary 1.0.3. text
1.0.2. subsection2. text
remark 1.0.4. text
Expected output:
Linear Spaces
1.0.1. Proposition%its in small caps% text
1.0.2. Subsection1%its in small caps% text
1.0.3. lemma%its in small caps% text
1.0.4. corollary%its in small caps% text
1.0.5. subsection2%its in small caps%. text
1.0.6. Remark%its in small caps% text
without using \newtheorem
\newenvironment
\theoremstyle
\renewcommand
only \newcommand
is allowed
<section>.<subsection>.<theorem>
, use\renewcommand{\thetheorem}{\thesubsection.\arabic{theorem}}
. What about if you have a theorem (or alike) within a section that doesn't have a subsection?