I defined the labels of items from enumerate as following:
1.\usepackage{enumerate}
2.\renewcommand{\theenumi}{\arabic{enumi}}
3.\renewcommand{\labelenumi}{\theenumi}
4.\renewcommand{\theenumii}{\arabic{enumii}}
5.\renewcommand{\labelenumii}{\theenumi.~\theenumii}
6.\renewcommand{\theenumiii}{\arabic{enumiii}}
7.\renewcommand{\labelenumiii}{\theenumi.~\theenumii.~\theenumiii}
I can create the enumeration of items on three levels with dots:
1
1.1
1.1.1
I reference the item with the command \ref{item_label}
\item \label{item_label} item_text
In \ref{item_label} you can find ...
The numbers in enumeration have dots, but in the reference the dots are missing, although I defined them in lines 5 and 7.
1.1.1 item_text
In 111 you can find ...
How can I have dots in the cross-references? I want to use only enumerate, and no other package.
enumitem
package) Please provide a working document, not just fragmentsenumitem
for other uses, too.