[Tex/LaTex] How to reference \paragraph

cross-referencingsectioningsections-paragraphs

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}
\label{sec: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:

\documentclass[10pt,twocolumn]{article}
\setcounter{secnumdepth}{6}
\begin{document}
\paragraph{blub}\label{para}
abc paragraph \ref{para}
\end{document}