Skip to content

class AdjustNode

  • supers: Node

An adjust node, which occurs only in horizontal lists, specifies material that will be moved out into the surrounding vertical list; i.e., it is used to implement TeX’s \vadjust operation.

Example:

assert.node_type("adjust", nil, {
  id = "adjust (5)",
  subtypes = { "normal (0)", "pre (1)" },
  fields = {
    "prev (-1)",
    "next (0)",
    "id (1)",
    "subtype (2)",
    "attr (3)",
    "head (4)",
  },
})

Reference:

😱 Types incomplete or incorrect? 🙏 Please contribute!


fields


AdjustNode.subtype


AdjustNode.subtype : AdjustNodeSubtype

AdjustNode.attr


AdjustNode.attr : Node {
    next: Node?,
    prev: Node?,
    id: integer,
    subtype: integer,
    head: Node?,
    attr: Node,
}

A list of attributes.

AdjustNode.head


AdjustNode.head : Node {
    next: Node?,
    prev: Node?,
    id: integer,
    subtype: integer,
    head: Node?,
    attr: Node,
}

adjusted material

AdjustNode.list


AdjustNode.list : Node {
    next: Node?,
    prev: Node?,
    id: integer,
    subtype: integer,
    head: Node?,
    attr: Node,
}

adjusted material