2

I'm writing a technical report which has a bunch of definitions of terms. Some of these definitions are short, some are longer (a couple of paragraphs), but the point is - there are a lot of them, in sequence.

Later on in my document, I want to refer to a few of these definitions, rather than just use them, i.e. write "(as defined [here])" with the [here] being a link to where the term was actually defined / where it first appeared within its definition.

Now, clearly, I can use a definition environment, with labels, and \autoref or \ref for the linkified reference. But - I don't want to use that environment, just for the few definitions which get referenced explicitly - as that would fill up my document with a long sequence of "Definition 1", "Definition 2", .... "Definition 15". Ugly.

What mechanism can I / should I use instead? Perhaps some non-environment relating anchor-plus-link solution, like in HTML?

4
  • 1
    please provide a minimal example. why would an environment help particularly? why would an environment fill your document with Definition Xs? assuming an environment helped, can't you just not have it emit Definition X if you don't want that? Commented Oct 26 at 13:43
  • @cfr: A begin-environment-end-environment helps me put a \label on the definition. Commented Oct 26 at 20:23
  • @einpoklum ????? Commented Oct 26 at 21:06
  • Are you familiar with the commands \hypertarget and \hyperlink of the hyperref package? If not, you may want to consult postings such as Link to arbitrary part of text? and How to cross-reference an unnumbered theorem to determine if this pair of commands can meet your formatting objective. Commented Oct 27 at 3:44

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.