forked from giom/ultraviolet
/
latex_beamer.syntax
41 lines (40 loc) · 1.17 KB
/
latex_beamer.syntax
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: LaTeX Beamer
fileTypes: []
firstLineMatch: ^\\documentclass(\[.*\])?\{beamer\}
scopeName: text.tex.latex.beamer
uuid: 2ACA20AA-B008-469B-A04A-6DE232973ED8
foldingStartMarker: \\begin\{.*\}|%.*\(fold\)\s*$
patterns:
- name: meta.function.environment.frame.latex
captures:
"1":
name: support.function.be.latex
"2":
name: punctuation.definition.function.latex
"3":
name: punctuation.definition.arguments.begin.latex
"4":
name: variable.parameter.function.latex
"5":
name: punctuation.definition.arguments.end.latex
begin: (?:\s*)((\\)begin)(\{)(frame)(\})
end: ((\\)end)(\{)(frame)(\})
patterns:
- name: support.function.with-arg.latex
captures:
"1":
name: support.function.with-arg.latex
"2":
name: punctuation.definition.function.latex
"3":
name: punctuation.definition.arguments.begin.latex
"4":
name: entity.name.function.frame.latex
"5":
name: punctuation.definition.arguments.end.latex
match: ((\\)frametitle)(\{)(.*)(\})
- include: $self
- include: text.tex.latex
foldingStopMarker: \\end\{.*\}|%.*\(end\)\s*$
keyEquivalent: ^~B