Here is what I want:
And here is how I want to achieve this:
Just like you have the \label
and \ref
commands for automatic section number referencing, I wish to have something similar which will auto-reference the specific item number (1.2.1 in my case) without me having me explicitly write it out every time. This will be part of a big report I'm writing, hence I wish to make my work less cumbersome
Here is the code:
\documentclass[]{article}
\usepackage{enumerate}
%opening
\title{}
\author{}
\begin{document}
\begin{enumerate}
\item 1st item
\begin{enumerate}[{1.}1]
\item 1st nested item
\item 2nd nested item
\begin{enumerate}[{1.2.}1]
\item Useful/Important Information
\end{enumerate}
\end{enumerate}
\item 2nd item
\end{enumerate}
\noindent In this paragraph, I talk a bit about the Useful/Important Information and then reference the item number
\end{document}
Best Answer
I am used to
enumitem
thanenumerate
as it is newer and offers much more customizations. As an additional tool, I suggest the use ofcleveref
for clever referencing as in this code: