# [Tex/LaTex] Numbering paragraphs in latex

formattingnumberingparagraphs

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?

\paragraph is like \section the argument should be the title not the whole paragraph, and it should only be used after a higher level sectioning unit (\subsubsection)

Perhaps

\newcounter{para}
\newcommand\mypara{\par\refstepcounter{para}\thepara\space}


Then you can use

\mypara blah blah blah
\mypara foo bar baz