Module: Mathtype3

Defined in:
lib/records3/pile.rb,
lib/records3/char.rb,
lib/records3/font.rb,
lib/records3/line.rb,
lib/records3/mtef.rb,
lib/records3/size.rb,
lib/records3/tmpl.rb,
lib/records3/embell.rb,
lib/records3/matrix.rb,
lib/records3/options.rb,
lib/records3/snapshot.rb

Overview

The row partition line type list consists of two-bit values for each possible partition line (one more than the number of rows), rounded out to the nearest byte. Each value determines the line style of the corresponding partition line (0 for none, 1 for solid, 2 for dashed, or 3 for dotted). Similarly for the column partition lines.

Defined Under Namespace

Modules: Snapshot Classes: Equation, NamedRecord, Payload, RecordChar, RecordEmbell, RecordEnd, RecordFont, RecordFull, RecordLine, RecordMatrix, RecordNudge, RecordPile, RecordRuler, RecordSize, RecordSub, RecordSub2, RecordSubsym, RecordSym, RecordTmpl, mtef_options

Constant Summary collapse

HALIGN =
Mathtype::HALIGN
VALIGN =
Mathtype::VALIGN
RECORD_NAMES =
{
  0 => "end",
  1 => "slot",
  2 => "char",
  3 => "tmpl",
  4 => "pile",
  5 => "matrix",
  6 => "embell",
  7 => "ruler",
  8 => "font",
  9 => "size",
  10 => "full",
  11 => "sub",
  12 => "sub2",
  13 => "sym",
  14 => "subsym",
}
OPTIONS =
{
  # value => symbol                     # description
  # Option flag values for all equation structure records:
  "xfLMOVE" => 0x08,              # nudge values follow tag
  # Option flag values for CHAR records:
  "xfLAUTO" => 0x01,        # character is followed by an embellishment list
  "xfEMBELL" => 0x02,    # character starts a function (sin, cos, etc.)
  # Option flag values for LINE records:
  "xfNULL" => 0x01,          # line is a placeholder only (i.e. not displayed)
  "xfLSPACE" => 0x04,        # line spacing value follows tag
  # Option flag values for LINE and PILE records:
  "xfRULER" => 0x02,           # RULER record follows LINE or PILE record
}