[Tex/LaTex] Labels and Cross-referencing in items

cross-referencingitemize

I have itemize environment and I want to cross-reference between two items. How do I do that?

Best Answer

The easiest way to refer to all types of lists, is to use the packages enumitem and enumitem-zref. Then you may refer to all three types of list.

If you want to refer items in a bullet list, you have to set up enumitem-zref correctly. I have to refer you to the manual, which describes the set up in detail.

If you only want to refer to enumerated lists, you can do that easely with enumitem. Take a look at section 3 in the enumitem-manual, to find out how to set up references. You just give the item a \label:

\begin{enumerate}
   \item this is an item \label{itemone}
   \item this is an item \label{itemtwo}
\end{enumerate}

In the text, you refer to the items with \ref{itemone} and \ref{itemtwo}.