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 Summary

    Modifier and Type
    Method
    Description
    static ch.stegmaier.java2tex.core.GenericCommand
    Assign a reference number to key.
    static ch.stegmaier.java2tex.core.GenericCommand
    Produce the page number of the place in the text where the corresponding \\label{key} command appears.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • label

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

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