I wonder how to do properly the following task: I want to announce a theorem in the introduction, named after Theorem A
and I want to refer to it. \label
and \ref
will offer the links, but by default \ref
only accepts numbered environments.
The way I imagine is that, I create a new environment namedtheorem
, which accepts an argument like A
, where I put a namedlabel
, and then I write a command namedref
, which will give me A
for the namedlabel
.
I don’t know how to do that properly.