I would like to create a table of references. The problem is, of course, that \label gives me the section number, but I have several items in the same section that I want to reference. Is there some way to define my own labels? Thanks.
\documentclass{article}
\begin{document}
\section{First}
See project\label{p.1}\ref{p.1}
See project\label{p.2}\ref{p.2}
\section{Second}
See project\label{p.3}\ref{p.3}
See project\label{p.4}\ref{p.4}
\section{Tables}
\begin{tabular}{ll}
Project & Link\\
\ref{p.1} & xxx\\
\ref{p.2} & yyy\\
\ref{p.3} & zzz\\
\ref{p.4} & uuu\\
\end{tabular}
\end{document}

\pageref? And what do you want to achieve with referencing the label just right where it is? (in your sections First and Second) – riddleculous Dec 16 '19 at 10:57of course\labelproduces a section number but it only does that as you have placed it after\sectionyou can\labeland\refany numbered latex construct such as tables, list items etc, however it is totally unclear what output you expect from the code shown, I would guess that\label{p.1}\ref{p.1}should be simply\ref{p.1}to reference the items and your table should be a\begin{itemize}with numbered items with eg\item\label{p.1}so that the ref refers to this item. (It is normally bad style to use numbers in label and ref keys) – David Carlisle Dec 16 '19 at 12:48