Is there a way to reference just plain text with the \ref{} tag?
I have a table with two columns. Each column has content which links to a different part below. The reference in the first column is no problem, because it refers to an item. The second column however is just plain text, but I want to refer that to the other text as well. I want to do that, so that I only need to change the referenced text and the text in my table will automatically update (preferably a reference, which can't be clicked on).
Here is the rough outline.
Table
Col 1 | Col 2
\ref{sth:bla} & \ref{sth:text} \
The referenced part
\begin{description}
\item[Something\label{sth:bla}] The Text \hfill \\
Description!
\end{description}
So now I would want to reference "The Text" with \ref{sth:text}, so that I wouldn't have to change the text twice. As I said, preferably I would like to reference without actually making if clickable.
The answer given by Werner does work fine to some point. Here is an example, where it doesn't seem to work correctly anymore. How would I use regular referencing in the document now?
\documentclass{article}
\usepackage{hyperref}% http://ctan.org/pkg/hyperref
\makeatletter
\newcommand*{\textlabel}[2]{%
\edef\@currentlabel{#1}% Set target label
\phantomsection% Correct hyper reference link
#1\label{#2}% Print and store label
}
\makeatother
\begin{document}
\section{A section}
This is a table:
\begin{center}
\begin{tabular}{l|l}
Col 1 & Col 2 \\
\ref{sth:bla} & \ref{sth:text} \\
\ref{Blub} & Text \\
\end{tabular}
\end{center}
The items:
\begin{description}
\item[\textlabel{Something}{sth:bla}] \textlabel{The Text}{sth:text} \hfill \\
Description! \\
\item[Blub\label{Blub}] Something \hfill \\
Another description!
\end{description}
\end{document}
The normal reference tag will now be replaced by the text content of the textlabel.

\label{<lab>}, LaTeX only stores a counter (which is a number) and a page (which is also a number).hyperrefstores a little extra, but it boils down to the same. If you want to store text in an ad-hoc fashion, then you have to use a custom package/macro (say\textlabel) in order to change the default behaviour. Of course\label-\refalone will not work while\textlabel-\refwill, since it provides that alternative interface (away from the default). In short, use\textlabel, not\label... – Werner May 08 '12 at 03:05\newcommand{\blah}{Blah}and then later use\blah. However, this requires you to use an auxiliary file so that the macro is available both before and after it is defined. Using\label-\refcircumvents this requirement by storing information in the.auxfile to be used throughout the document (both before & after) it is made. – Werner May 08 '12 at 03:06