Class CrossReferences
java.lang.Object
ch.stegmaier.java2tex.commands.registry.CrossReferences
We often want something like ‘See Theorem~31’. But by-hand typing the 31 is poor practice. Instead you should write a label such as \label{eq:GreensThm} and then reference it, as with See equation~\ref{eq:GreensThm}.
LaTeX will automatically work out the number, put it into the output, and will change that number later if needed.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic GenericCommandlabel()Assign a reference number to key.static GenericCommandpageref()Produce the page number of the place in the text where the corresponding \\label{key} command appears.
-
Method Details
-
label
Assign a reference number to key.- See Also:
-
pageref
Produce the page number of the place in the text where the corresponding \\label{key} command appears.- See Also:
-