class Rouge::Lexers::TeX

def self.analyze_text(text)

def self.analyze_text(text)
  return 1 if text =~ /\A\s*\\documentclass/
  return 1 if text =~ /\A\s*\\input/
  return 1 if text =~ /\A\s*\\documentstyle/
  return 1 if text =~ /\A\s*\\relax/
end