//-------------------------------------------------------------------- // XTEX.AML // Syntax highlighting for LaTex files (Tex, Ltx, Sty) // After making changes, save this file and compile with . //-------------------------------------------------------------------- include bootpath "define.aml" syntax 'bcfn' // options: // b=show through marked block // c=highlight cursor line // d=show through closed folds // f=use only foreground colors // i=ignore keyword case // n=highlight numbers '{}[]()=+-|&~^_\t' // symbol set 1 '' // symbol set 2 '$' // string characters '\\' // string literal char '' // numeric symbol '%' 0 // eol comment 1 / start column '' 0 // eol comment 2 / start column '' '' // multi-line comment 1 '' '' // multi-line comment 2 0 // number of lines to scan backward // colors color brightcyan on black // keyword color gray on cyan // symbol set 1 color gray on cyan // symbol set 2 color brightred on black // string color brightred on black // numeric color brightgreen on black // eol comment 1 color brightgreen on black // eol comment 2 color brightgreen on black // comment 1 color brightgreen on black // comment 2 keyword \Huge, \LARGE, \Large, \addtocounter, \addtolength, \appendix, \author, \begin, \bf, \bibliography, \caption, \chapter, \cite, \date, \documentstyle, \em, \end, \footnote, \footnotesize, \glossary, \hbox, \hline, \hspace, \huge, \include, \includeonly, \index, \input, \it, \item, \label, \large, \listoffigures, \listoftables, \makebox, \makeglossary, \makeindex, \maketitle, \mbox, \newcommand, \newcounter, \newenvironment, \newlength, \newtheorem, \nocite, \nofiles, \normalsize, \pagenumbering, \pageref, \pagestyle, \paragraph, \part, \raggedright, \ref, \renewcommand, \renewenvironment, \rm, \scriptsize, \section, \setcounter, \setlength, \settowidth, \sf, \sl, \small, \ss, \subsection, \subsubsection, \tableofcontents, \thanks, \thispagestyle, \tiny, \title, \tt, \vspace