class_docstr: Base class for lexers of literate file formats based on LaTeX or Bird-style
  (prefixing each code line with ">").
  
  Additional options accepted:
  
  `litstyle`
      If given, must be ``"bird"`` or ``"latex"``.  If not given, the style
      is autodetected: if the first non-whitespace character in the source
      is a backslash or percent character, LaTeX is assumed, else Bird.
class_docstr_tok: ["Base","class","for","lexers","of","literate","file","formats","based","on","LaTeX","or","Bird-style","(","prefixing","each","code","line","with","``",">","''",")",".","Additional","options","accepted",":","`","litstyle","`","If","given",",","must","be","``","``","bird","''","``","or","``","``","latex","''","``",".","If","not","given",",","the","style","is","autodetected",":","if","the","first","non-whitespace","character","in","the","source","is","a","backslash","or","percent","character",",","LaTeX","is","assumed",",","else","Bird","."]
code: def __init__(self, baselexer, **options):
      self.baselexer = baselexer
      Lexer.__init__(self, **options)
  
imports: import re
  from pygments.lexer import Lexer, RegexLexer, bygroups, do_insertions, default, include, inherit
  from pygments.token import Text, Comment, Operator, Keyword, Name, String, Number, Punctuation, Generic
  from pygments import unistring
label_desc: Use image node_id 1 to create a new LiterateLexer object from inherited base classes: Lexer with example: obj = LiterateLexer(baselexer)