Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <!-- syntaxdefinition for TeX document 2001 by Mike Krueger (gleaned from Jedit) --> |
---|
3 | |
---|
4 | <SyntaxDefinition name = "TeX" extensions = ".tex"> |
---|
5 | |
---|
6 | <Digits name = "Digits" bold = "false" italic = "false" color = "Black"/> |
---|
7 | |
---|
8 | <RuleSets> |
---|
9 | <RuleSet ignorecase = "false"> |
---|
10 | <Delimiters>&~!@%^*()-+=|\#/{}[]:;"'<> , .?</Delimiters> |
---|
11 | |
---|
12 | <Span name = "LineComment" bold = "false" italic = "true" color = "SlateGray" stopateol = "true"> |
---|
13 | <Begin>%</Begin> |
---|
14 | </Span> |
---|
15 | |
---|
16 | <Span name = "MathMode" rule = "MathMode" bold = "false" italic = "false" color = "Black" stopateol = "false"> |
---|
17 | <Begin>$$</Begin> |
---|
18 | <End>$$</End> |
---|
19 | </Span> |
---|
20 | <Span name = "LatexMathMode" rule = "MathMode" bold = "false" italic = "false" color = "Black" stopateol = "false"> |
---|
21 | <Begin>\[</Begin> |
---|
22 | <End>\]</End> |
---|
23 | </Span> |
---|
24 | |
---|
25 | <!-- \... commands --> |
---|
26 | <MarkFollowing markmarker ="true" bold = "true" italic = "false" color = "MidnightBlue">\</MarkFollowing> |
---|
27 | |
---|
28 | <!-- some commands must be handled specially --> |
---|
29 | <KeyWords name = "Keyword1" bold = "false" italic = "false" color = "Blue"> |
---|
30 | <Key word = "\$" /> |
---|
31 | <Key word = "\\" /> |
---|
32 | <Key word = "\%" /> |
---|
33 | </KeyWords> |
---|
34 | |
---|
35 | <KeyWords name = "KeyWords2" bold="true" italic="false" color="Green"> |
---|
36 | <Key word = ")" /> |
---|
37 | <Key word = ")" /> |
---|
38 | <Key word = "{" /> |
---|
39 | <Key word = "}" /> |
---|
40 | <Key word = "[" /> |
---|
41 | <Key word = "]" /> |
---|
42 | <Key word = "=" /> |
---|
43 | <Key word = "!" /> |
---|
44 | <Key word = "+" /> |
---|
45 | <Key word = "-" /> |
---|
46 | <Key word = "/" /> |
---|
47 | <Key word = "*" /> |
---|
48 | <Key word = ">" /> |
---|
49 | <Key word = "<" /> |
---|
50 | <Key word = "&" /> |
---|
51 | <Key word = "|" /> |
---|
52 | <Key word = "^" /> |
---|
53 | <Key word = "~" /> |
---|
54 | <Key word = "." /> |
---|
55 | <Key word = "," /> |
---|
56 | <Key word = ";" /> |
---|
57 | <Key word = "?" /> |
---|
58 | <Key word = ":" /> |
---|
59 | <Key word = "'" /> |
---|
60 | <!-- <Key word = """ />--> |
---|
61 | <Key word = "`" /> |
---|
62 | </KeyWords> |
---|
63 | </RuleSet> |
---|
64 | |
---|
65 | <RuleSet name = "MathMode" ignorecase = "false"> |
---|
66 | <Delimiters>&~!@%^*()-+=|\#/{}[]:;"'<> , .?</Delimiters> |
---|
67 | |
---|
68 | |
---|
69 | <Span name = "LineComment" bold = "false" italic = "true" color = "SlateGray" stopateol = "true"> |
---|
70 | <Begin>%</Begin> |
---|
71 | </Span> |
---|
72 | |
---|
73 | <!-- \... commands --> |
---|
74 | <MarkFollowing markmarker ="true" bold = "true" italic = "false" color = "MidnightBlue">\</MarkFollowing> |
---|
75 | |
---|
76 | <KeyWords name = "KeyWords2" bold="true" italic="false" color="Green"> |
---|
77 | <Key word = ")" /> |
---|
78 | <Key word = ")" /> |
---|
79 | <Key word = "{" /> |
---|
80 | <Key word = "}" /> |
---|
81 | <Key word = "[" /> |
---|
82 | <Key word = "]" /> |
---|
83 | <Key word = "=" /> |
---|
84 | <Key word = "!" /> |
---|
85 | <Key word = "+" /> |
---|
86 | <Key word = "-" /> |
---|
87 | <Key word = "/" /> |
---|
88 | <Key word = "*" /> |
---|
89 | <Key word = ">" /> |
---|
90 | <Key word = "<" /> |
---|
91 | <Key word = "&" /> |
---|
92 | <Key word = "|" /> |
---|
93 | <Key word = "^" /> |
---|
94 | <Key word = "~" /> |
---|
95 | <Key word = "." /> |
---|
96 | <Key word = "," /> |
---|
97 | <Key word = ";" /> |
---|
98 | <Key word = "?" /> |
---|
99 | <Key word = ":" /> |
---|
100 | <Key word = "'" /> |
---|
101 | <!-- <Key word = """ />--> |
---|
102 | <Key word = "`" /> |
---|
103 | </KeyWords> |
---|
104 | </RuleSet> |
---|
105 | </RuleSets> |
---|
106 | |
---|
107 | </SyntaxDefinition> |
---|
108 | |
---|
Note: See
TracBrowser
for help on using the repository browser.