latex.syntax 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. context default
  2. wholechars left \\
  3. wholechars right abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
  4. spellcheck
  5. keyword whole {\\it brightgreen
  6. keyword } brightgreen
  7. keyword whole {\\bf brightgreen
  8. keyword } brightgreen
  9. keyword { brightgreen
  10. keyword \\$ yellow
  11. # type style
  12. keyword whole \\tiny yellow
  13. keyword whole \\scriptsize yellow
  14. keyword whole \\footnotesize yellow
  15. keyword whole \\small yellow
  16. keyword whole \\normalsize yellow
  17. keyword whole \\large yellow
  18. keyword whole \\Large yellow
  19. keyword whole \\LARGE yellow
  20. keyword whole \\huge yellow
  21. keyword whole \\Huge yellow
  22. # accents and symbols
  23. keyword whole \\\{`'^"~=.uvHtcdb\}{\{aeiouAEIOU\}} yellow
  24. keyword whole \\dag yellow
  25. keyword whole \\ddag yellow
  26. keyword whole \\S yellow
  27. keyword whole \\P yellow
  28. keyword whole \\copyright yellow
  29. keyword whole \\pounds yellow
  30. # sectioning and table of contents
  31. keyword whole \\part[*]{*} brightred
  32. keyword whole \\part{*} brightred
  33. keyword whole \\part\*{*} brightred
  34. keyword whole \\chapter[*]{*} brightred
  35. keyword whole \\chapter{*} brightred
  36. keyword whole \\chapter\*{*} brightred
  37. keyword whole \\section[*]{*} brightred
  38. keyword whole \\section{*} brightred
  39. keyword whole \\section\*{*} brightred
  40. keyword whole \\subsection[*]{*} brightred
  41. keyword whole \\subsection{*} brightred
  42. keyword whole \\subsection\*{*} brightred
  43. keyword whole \\subsubsection[*]{*} brightred
  44. keyword whole \\subsubsection{*} brightred
  45. keyword whole \\subsubsection\*{*} brightred
  46. keyword whole \\paragraph[*]{*} brightred
  47. keyword whole \\paragraph{*} brightred
  48. keyword whole \\paragraph\*{*} brightred
  49. keyword whole \\subparagraph[*]{*} brightred
  50. keyword whole \\subparagraph{*} brightred
  51. keyword whole \\subparagraph\*{*} brightred
  52. keyword whole \\appendix brightred
  53. keyword whole \\tableofcontents brightred
  54. # misc
  55. keyword whole \\item[*] yellow
  56. keyword whole \\item yellow
  57. keyword whole \\\\ yellow
  58. keyword \\\s yellow black
  59. keyword \\@ yellow black
  60. keyword %% yellow
  61. keyword \\% yellow
  62. # docuement and page styles
  63. keyword whole \\documentstyle[*]{*} yellow
  64. keyword whole \\documentstyle{*} yellow
  65. keyword whole \\pagestyle{*} yellow
  66. # cross references
  67. keyword whole \\label{*} yellow
  68. keyword whole \\ref{*} yellow
  69. # bibliography and citations
  70. keyword whole \\bibliography{*} yellow
  71. keyword whole \\bibitem[*]{*} yellow
  72. keyword whole \\bibitem{*} yellow
  73. keyword whole \\cite[*]{*} yellow
  74. keyword whole \\cite{*} yellow
  75. # splitting the input
  76. keyword whole \\input{*} yellow
  77. keyword whole \\include{*} yellow
  78. keyword whole \\includeonly{*} yellow
  79. # line breaking
  80. keyword whole \\linebreak[\[01234\]] yellow
  81. keyword whole \\nolinebreak[\[01234\]] yellow
  82. keyword whole \\linebreak yellow
  83. keyword whole \\nolinebreak yellow
  84. keyword whole \\[+] yellow
  85. keyword whole \\- yellow
  86. keyword whole \\sloppy yellow
  87. # page breaking
  88. keyword whole \\pagebreak[\[01234\]] yellow
  89. keyword whole \\nopagebreak[\[01234\]] yellow
  90. keyword whole \\pagebreak yellow
  91. keyword whole \\nopagebreak yellow
  92. keyword whole \\samepage yellow
  93. keyword whole \\newpage yellow
  94. keyword whole \\clearpage yellow
  95. # definitions
  96. keyword \\newcommand{*}[*] cyan
  97. keyword \\newcommand{*} cyan
  98. keyword \\newenvironment{*}[*]{*} cyan
  99. keyword \\newenvironment{*}{*} cyan
  100. # boxes
  101. # begins and ends
  102. keyword \\begin{document} brightred
  103. keyword \\begin{equation} brightred
  104. keyword \\begin{displaymath} brightred
  105. keyword \\begin{eqnarray} brightred
  106. keyword \\begin{quote} brightred
  107. keyword \\begin{quotation} brightred
  108. keyword \\begin{center} brightred
  109. keyword \\begin{verse} brightred
  110. keyword \\begin{verbatim} brightred
  111. keyword \\begin{itemize} brightred
  112. keyword \\begin{enumerate} brightred
  113. keyword \\begin{description} brightred
  114. keyword \\begin{list} brightred
  115. keyword \\begin{array} brightred
  116. keyword \\begin{tabular} brightred
  117. keyword \\begin{thebibliography}{*} brightred
  118. keyword \\begin{sloppypar} brightred
  119. keyword \\end{document} brightred
  120. keyword \\end{equation} brightred
  121. keyword \\end{displaymath} brightred
  122. keyword \\end{eqnarray} brightred
  123. keyword \\end{quote} brightred
  124. keyword \\end{quotation} brightred
  125. keyword \\end{center} brightred
  126. keyword \\end{verse} brightred
  127. keyword \\end{verbatim} brightred
  128. keyword \\end{itemize} brightred
  129. keyword \\end{enumerate} brightred
  130. keyword \\end{description} brightred
  131. keyword \\end{list} brightred
  132. keyword \\end{array} brightred
  133. keyword \\end{tabular} brightred
  134. keyword \\end{thebibliography}{*} brightred
  135. keyword \\end{sloppypar} brightred
  136. keyword \\begin{*} brightcyan
  137. keyword \\end{*} brightcyan
  138. keyword \\theorem{*}{*} yellow
  139. # if all else fails
  140. keyword whole \\begin white
  141. keyword whole \\+[*][*]{*}{*}{*} brightcyan
  142. keyword whole \\+[*][*]{*}{*} brightcyan
  143. keyword whole \\+[*]{*}{*}{*} brightcyan
  144. keyword whole \\+[*]{*}{*} brightcyan
  145. keyword whole \\+[*]{*} brightcyan
  146. keyword whole \\+{*}{*}{*}{*} brightcyan
  147. keyword whole \\+{*}{*}{*} brightcyan
  148. keyword whole \\+{*}{*} brightcyan
  149. keyword whole \\+{*} brightcyan
  150. keyword whole \\+ brightcyan
  151. context exclusive whole {\\bf } brightmagenta
  152. keyword whole \\tiny yellow
  153. keyword whole \\scriptsize yellow
  154. keyword whole \\footnotesize yellow
  155. keyword whole \\small yellow
  156. keyword whole \\normalsize yellow
  157. keyword whole \\large yellow
  158. keyword whole \\Large yellow
  159. keyword whole \\LARGE yellow
  160. keyword whole \\huge yellow
  161. keyword whole \\Huge yellow
  162. keyword whole \\\{`'^"~=.uvHtcdb\}{\{aeiouAEIOU\}} yellow
  163. keyword whole \\dag yellow
  164. keyword whole \\ddag yellow
  165. keyword whole \\S yellow
  166. keyword whole \\P yellow
  167. keyword whole \\copyright yellow
  168. keyword whole \\pounds yellow
  169. keyword whole \\\\ yellow
  170. keyword \\\s yellow black
  171. keyword \\@ yellow black
  172. keyword %% yellow
  173. keyword whole \\label{*} yellow
  174. keyword whole \\ref{*} yellow
  175. keyword whole \\bibitem[*]{*} yellow
  176. keyword whole \\bibitem{*} yellow
  177. keyword whole \\cite[*]{*} yellow
  178. keyword whole \\cite{*} yellow
  179. keyword whole \\[+] yellow
  180. keyword whole \\- yellow
  181. keyword whole \\sloppy yellow
  182. keyword whole \\+[*][*]{*}{*}{*} brightcyan
  183. keyword whole \\+[*][*]{*}{*} brightcyan
  184. keyword whole \\+[*]{*}{*}{*} brightcyan
  185. keyword whole \\+[*]{*}{*} brightcyan
  186. keyword whole \\+[*]{*} brightcyan
  187. keyword whole \\+{*}{*}{*}{*} brightcyan
  188. keyword whole \\+{*}{*}{*} brightcyan
  189. keyword whole \\+{*}{*} brightcyan
  190. keyword whole \\+{*} brightcyan
  191. keyword whole \\+ brightcyan
  192. context exclusive whole {\\it } magenta
  193. keyword whole \\tiny yellow
  194. keyword whole \\scriptsize yellow
  195. keyword whole \\footnotesize yellow
  196. keyword whole \\small yellow
  197. keyword whole \\normalsize yellow
  198. keyword whole \\large yellow
  199. keyword whole \\Large yellow
  200. keyword whole \\LARGE yellow
  201. keyword whole \\huge yellow
  202. keyword whole \\Huge yellow
  203. keyword whole \\\{`'^"~=.uvHtcdb\}{\{aeiouAEIOU\}} yellow
  204. keyword whole \\dag yellow
  205. keyword whole \\ddag yellow
  206. keyword whole \\S yellow
  207. keyword whole \\P yellow
  208. keyword whole \\copyright yellow
  209. keyword whole \\pounds yellow
  210. keyword whole \\\\ yellow
  211. keyword \\\s yellow black
  212. keyword \\@ yellow black
  213. keyword %% yellow
  214. keyword whole \\label{*} yellow
  215. keyword whole \\ref{*} yellow
  216. keyword whole \\bibitem[*]{*} yellow
  217. keyword whole \\bibitem{*} yellow
  218. keyword whole \\cite[*]{*} yellow
  219. keyword whole \\cite{*} yellow
  220. keyword whole \\[+] yellow
  221. keyword whole \\- yellow
  222. keyword whole \\sloppy yellow
  223. keyword whole \\+[*][*]{*}{*}{*} brightcyan
  224. keyword whole \\+[*][*]{*}{*} brightcyan
  225. keyword whole \\+[*]{*}{*}{*} brightcyan
  226. keyword whole \\+[*]{*}{*} brightcyan
  227. keyword whole \\+[*]{*} brightcyan
  228. keyword whole \\+{*}{*}{*}{*} brightcyan
  229. keyword whole \\+{*}{*}{*} brightcyan
  230. keyword whole \\+{*}{*} brightcyan
  231. keyword whole \\+{*} brightcyan
  232. keyword whole \\+ brightcyan
  233. context \\pagenumbering{ } yellow
  234. keyword arabic brightcyan
  235. keyword roman brightcyan
  236. keyword alph brightcyan
  237. keyword Roman brightcyan
  238. keyword Alph brightcyan
  239. context % \n brown
  240. context exclusive \\begin{verbatim} \\end{verbatim} white
  241. # mathematical formulas
  242. context $ $ brightgreen
  243. context exclusive \\begin{equation} \\end{equation} brightgreen
  244. context exclusive \\begin{displaymath} \\end{displaymath} brightgreen
  245. context exclusive \\begin{eqnarray} \\end{eqnarray} brightgreen