Class CrossReferences

java.lang.Object
ch.stegmaier.java2tex.commands.registry.CrossReferences

public class CrossReferences extends Object
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 Details

    • label

      public static GenericCommand label()
      Assign a reference number to key.
      See Also:
    • pageref

      public static GenericCommand pageref()
      Produce the page number of the place in the text where the corresponding \\label{key} command appears.
      See Also: