aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/latex/AllStyles.tex
diff options
context:
space:
mode:
Diffstat (limited to 'lexilla/test/examples/latex/AllStyles.tex')
-rw-r--r--lexilla/test/examples/latex/AllStyles.tex47
1 files changed, 47 insertions, 0 deletions
diff --git a/lexilla/test/examples/latex/AllStyles.tex b/lexilla/test/examples/latex/AllStyles.tex
new file mode 100644
index 000000000..dc7ed9b6e
--- /dev/null
+++ b/lexilla/test/examples/latex/AllStyles.tex
@@ -0,0 +1,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
+\