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

public class Spaces extends Object
LaTeX has many ways to produce white space, or filled space. Some of these are best suited to mathematical text; for these see Spacing in math mode.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    static ch.stegmaier.java2tex.core.GenericCommand
    Produce a rubber length which has no natural space but that can stretch horizontally as far as needed.
    static ch.stegmaier.java2tex.core.GenericCommand
    Produce a rubber length which has no natural space but that can stretch horizontally as far as needed.
    static ch.stegmaier.java2tex.core.BaseCommand
    nbs()
    Non Breaking Space
    static ch.stegmaier.java2tex.core.GenericCommand
    End the current paragraph and insert a vertical rubber length that is infinite, so it can stretch or shrink as far as needed.
    Add the vertical space length.
    vspace(int value, ch.stegmaier.java2tex.core.BaseCommand unitsOfLength)
    Add the vertical space length.

    Methods inherited from class java.lang.Object

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

    • hfill

      public static ch.stegmaier.java2tex.core.GenericCommand hfill()
      Produce a rubber length which has no natural space but that can stretch horizontally as far as needed. The \hfill command is equivalent to \hspace{\fill} and so the space can be discarded at line breaks.
      See Also:
    • nbs

      public static ch.stegmaier.java2tex.core.BaseCommand nbs()
      Non Breaking Space
    • vspace

      public static SpacingCommand vspace()
      Add the vertical space length. The length can be positive, negative, or zero. It is a rubber length—it may contain a plus or minus component
      See Also:
    • vspace

      public static SpacingCommand vspace(int value, ch.stegmaier.java2tex.core.BaseCommand unitsOfLength)
      Add the vertical space length. The length can be positive, negative, or zero. It is a rubber length—it may contain a plus or minus component
      See Also:
    • vfill

      public static ch.stegmaier.java2tex.core.GenericCommand vfill()
      End the current paragraph and insert a vertical rubber length that is infinite, so it can stretch or shrink as far as needed.
      See Also:
    • fill

      public static ch.stegmaier.java2tex.core.GenericCommand fill()
      Produce a rubber length which has no natural space but that can stretch horizontally as far as needed.
      See Also: