]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/tex.micro
Merge
[micro.git] / runtime / syntax / tex.micro
1 ## TeX
2 syntax "tex" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
3
4 ## colorize the identifiers of {<identifier>} and [<identifier>]
5 color identifier start="\{" end="\}"
6 color identifier start="\[" end="\]"
7
8 ## numbers
9 color constant.number "\b[0-9]+(\.[0-9]+)?([[:space:]](pt|mm|cm|in|ex|em|bp|pc|dd|cc|nd|nc|sp))?\b"
10
11 ## let brackets have the default color again
12 color default "[{}\[\]]"
13
14 color special "[&\\]"
15
16 ## macros
17 color statement "\\@?[a-zA-Z_]+"
18
19 ## commments
20 color comment "%.*"
21 color comment start="\\begin\{comment\}" end="\\end\{comment\}"