blob: b706f708b42e7872d15eba68a195ede3e9ccc4c8 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
% LaTeX test file for kate's syntax highlighting and code folding
\ordinaryLaTeXcommandwithoption[10pt,a4paper]{article}
% BEGIN region
%comment, this is all ok % $
\%no comments please
\\%comment
% END of region
\newcommand{\nohighlighting}
\section{normal}
\ref{blue}
\pageref{blue}
\cite{blue}
\begin{environmentshavespecialcolors}
normal
\end{environmentshavespecialcolors}
$equations are green, \commands somewhat darker$
normal
$$equations are green, \commands somewhat darker$$
normal
\(
\frac{1}{2}
\begin{test}
\end{test}
\)
normal
\[
%comment
displaymath
\]
normal
\begin{equation}
green\darkergreen
\begin{test}
\test
\end{test}
\end{equation}
\begin{equation*}
green\darkergreen
%comment
\begin{test}
\test
\end{test}
\%no comment
\end{equation*}
\{ %this should be comment
\verb%this shouldn't be%and this should be normal text
\begin{verbatim}
text inside a verbatim environment is also treated special $ %,
you can even put a \begin{verbatim} inside
\end{verbatim}
normal
\begin{Verbatim}
&@@#^%&^#$
\end{Verbatim}
\begin{Verbatim*}
@*&^#@*(^#(*@&
\end{Verbatim*}
normal
|