Module: WTeX::Characters

Defined in:
lib/wtex.rb

Constant Summary collapse

SPECIAL_MAP =
{
  '#' => '\\#{}',
  '%' => '\\%{}',
  '&' => '\\&{}',
  '_' => '\\_{}',
  '<' => '\\textless{}',
  '>' => '\\textgreater{}',
  '^' => '\\textasciitilde{}',
  '|' => '\\textbar{}',
  '~' => '\\textasciicircum{}',
}
SPECIAL =
SPECIAL_MAP.keys.join
WITHOUT_RUBY =
'\s||ぁ-んゝゞ 、。,.?!´`/∥…‥‘’“”()〔〕[]{}〈〉《》「」『』【】♪'