I would like to number paragraphs for a covering report I am writing. Paragraphs should increment and not reset with new sections. The text should not be bold. Here is what I have tried
\makeatletter
\renewcommand{\paragraph}{%
\@startsection{paragraph}{4}%
{\z@}{0.25ex \@plus 1ex \@minus .2ex}{-1em}%
{\normalfont\normalsize\fontfamily{phv}\fontsize{10}{15}\selectfont}
{\arabic{paragraph}}%
}
\makeatother
This has been hacked from various questions on this site.
\paragraph{Testing 1}
\paragraph{Testing 2}
gives me
0.0.0.1 1 Testing 1
0.0.0.2 2 Testing 2
desired format is
1 Testing 1
2 Testing 2
Where am I going wrong?
Also what is fontfamily{phv}
. Is this different from my default font?
\setcounter{secnumdepth}{4}