HEX
Server: Apache
System: Linux vps28526 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
User: heewonvps_17 (6705002)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/share/highlight/langDefs/tex.lang
Description="TeX and LaTeX"

Keywords={
  { Id=1,
    Regex=[[\\\w+]],
  },
  { Id=2,
    List={"a4paper", "report", "ngerman", "dvips", "graphicx", "latin1", "inputenc", 
            "T1", "fontenc", "color", "alltt", "document", "tabbing", "tocdepth"},
  },
  { Id=3,
    Regex=[[\#\d+]],
  },
}

IgnoreCase=false

Comments={
  { Block=false,
    Delimiter= { [[(?<!\\)%.*$]] },
  },
  { Block=true,
    Nested=false,
    Delimiter= { [[\(\*]],[[\*\)]],}
  }
}

NestedSections = {
  { Lang="perl", Delimiter= { [[\\perl(?:re)?newcommand\{\\\w+\}\[.*\]\{]], [[\{]] } },
  { Lang="perl", Delimiter= { [[\\perl(?:re)?newenvironment\{\w+\}\[.*\]\{]], [[\{]] } },
  { Lang="inc_luatex", Delimiter= { [[\\directlua0?.*?\{]], [[(?<!\{)\}]] } },
  { Lang="r", Delimiter= { [[<<.*>>=]], [[@]] } },
}

Operators=[[ \{|\}|\[|\] ]]