aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/latex/AllStyles.tex
blob: dc7ed9b6e563bc81540ee517c723bce82946d0eb (plain)
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
42
43
44
45
46
47
% Enumerate all styles: 0 to 12
% Not a valid laTeX file as entities are unbalanced and not semantically correct
% comment=4

% whitespace=0
text	%

% command=1
\documentclass

% tag=2
\begin{document}

% tag closing=5
\end{document}

% math=3
\begin{math}
E &= mc^2
\end{math}

% math block=6
\begin{align}
E &= mc^2
\end{align}

% comment block=7
\begin{comment}
A block comment
\end{comment}

% verbatim=8
\begin{verbatim}
puts $foo
\end{verbatim}

% short command=9
\(\)

% special=10
\#

% command optional argument=11
\x[12pt]

% error=12
\