[Tex/LaTex] How to reference \paragraph


It is well-known that \section environment may be assigned a label \label{refname} and then the refname may be used in order to reference this section:

\section{My nice section}
Definitely the section is nice!

\section{My another section}
In the section \ref{sec:my-nice-section} we have discovered that it is nice.

Is there such possibility for \paragraph that we can assign it a label and then reference it?

Best Answer

Sure - if it has a number which can be referenced:

abc paragraph \ref{para}