I want to be able to label and reference a particular text in my LaTeX document without necessarily making it appear inside an equation, align, or cases environment. How can I do this?
For example is it possible to have something like this?
"This is a simple text that also contains $an \quad inline \quad formula$ inside itself!" (♣)
As we discussed in (♣), everything could be labeled and referenced later on in $\latex$!
If label could not do this, how can I do such thing so that I can have the same functionality outside those environments and avoid doing it manually by typing (♣) by hand every time?
hyperrefpackage. Yet, somehow, LaTeX is supposed to provide a mechanism for latching on to an object that offers no hooks. Why the "I don't want to use hyperlinks and other stuff" stance? Incidentally, what might this "other stuff" be that you're ruling out ex ante? Unless we know exactly what you're ruling out, it's not really possible to figure out what may, in your view, be permissible. – Mico Jun 04 '20 at 10:57\label-\refcross-referencing mechanism rests the premise that\labelcan "latch on" to a counter variable -- specifically, the counter variable most recently incremented by a\refstepcounterinstruction. For instance, the\section{...}instruction increments a counter calledsection, and anequationenvironment increments a counter called, you guessed it,equation. Any\labelinstructions that follow\sectionor\begin{equation}will be associated with the current value of the appropriate counter. – Mico Jun 04 '20 at 11:02\hyperlinkand\hypertarget. – Mico Jun 04 '20 at 11:11equation; however, my impression may have been quite wrong. Sure, you could set up your own counter variables and increment them via\refstepcounter; I can guarantee, though, that your readers will have no idea what's going on when they start to see cross-references of the form<someobject 15>and cannot find any instances of<someobject>, let alone one that's numbered 15. – Mico Jun 04 '20 at 11:13