HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
PHP: 8.1.31
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=[[ \{|\}|\[|\] ]]