class Mathtype5::RecordChar

Constants

EXPOSED_IN_SNAPSHOT

Public Instance Methods

mt_code_value() click to toggle source
# File lib/records5/char.rb, line 67
def mt_code_value
  sprintf("0x%04X", _mt_code_value)
end
typeface() click to toggle source
# File lib/records5/char.rb, line 71
def typeface
  _typeface + 128
end
variation() click to toggle source
# File lib/records5/char.rb, line 75
def variation
  case typeface
  when 1, 9, 10
    "textmode"
  else
    "mathmode"
  end
end