4  CR

4.1 Sample section

This section is associated with #sec-lorem-ipsum-this label.

4.1.1 Suppress cross-reference prefix


If write see @sec-lorem-ipsum-this it will produce “see Section 4.1”.

To suppress cross-reference prefix prepend - before @, like so [-@citation], will suppress default prefix, e.g. [-@sec-lorem-ipsum-this] will produce just 2.1 (or whatever number this section happens to be) without Section prefix:

See [-@sec-lorem-ipsum-this].

to get

See 4.1.

4.1.2 To have another CR prefix

To have another prefix and choose a momentary one at will, such as ‘Chapter’ or ‘Appendix’, you must put the reference to the CR in square brackets, preceded by the prefix you have chosen (in this example it is ‘Chapter’):

See [Chapter @sec-lorem-ipsum-this] for more details on visualizing model diagnostics.

to get

See Chapter 4.1 for more details on visualizing model diagnostics.

Note

In this example I have not inserted -, because it is not needed.

Back to top