! Syntax highlighting patterns for LaTeX ! ! INSTALLATION ! ! Load this pattern by starting nedit with: ! ! nedit -import ! ! Then, check that the patterns were loaded correctly, and choose Save Defaults ! from the Preferences menu. The new patterns will now be incorporated into ! your own .nedit file, so the next time you start NEdit, you will no longer ! need to use -import. ! ! These comments will not appear in your ~/.nedit ! nedit.highlightPatterns: LaTeX:1:0{\n\ Comment:"%":"$"::Text Comment::\n\ Parameter:"#[0-9]*":::Text Arg::\n\ Special Chars:"[{}&]":::Keyword::\n\ Escape Chars:"\\\\[$&%#_{}]":::Text Escape::\n\ Super Sub 1 Char:"(\\^|_)[^{]":::Text Arg2::\n\ Verbatim Begin End:"\\\\begin\\{verbatim\\*?}":"\\\\end\\{verbatim\\*?}"::Plain::\n\ Verbatim Color:"&":"&"::Keyword:Verbatim Begin End:C\n\ Verbatim 1:"\\\\verb\\*?`":"`"::Plain::\n\ Verbatim 1 Color:"&":"&"::Keyword:Verbatim 1:C\n\ Verbatim 2:"\\\\verb\\*?#":"#"::Plain::\n\ Verbatim 2 Color:"&":"&"::Keyword:Verbatim 2:C\n\ Verbatim 3 Color:"&":"&"::Keyword:Verbatim 3:C\n\ Verbatim 3:"\\\\verb\\*?/":"/"::Plain::\n\ Inline Math:"\\$|\\\\\\(":"\\$|\\\\\\)":"\\\\\\(":LaTeX Math::\n\ Inline Math Comment:"%":"$"::Text Comment:Inline Math:\n\ Math Color:"&":"&"::Keyword:Inline Math:C\n\ Math Escape Chars:"\\\\\\$":::Text Escape:Inline Math:\n\ No Arg Command:"\\\\(left|right)[\\[\\]{}()]":::Text Key::\n\ Command:"[_^]|[\\\\@](a'|a`|a=|[A-Za-z]+\\*?|\\\\\\*|[-@_='`^""|\\[\\]*:!+<>/~.,\\\\ ])":"nevermatch":"[^{[(]":Text Key::\n\ Cmd Brace Args:"\\{":"}"::Text Arg2:Command:\n\ Brace Color:"&":"&"::Text Arg:Cmd Brace Args:C\n\ Cmd Paren Args:"\\(":"\\)":"$":Text Arg2:Command:\n\ Paren Color:"&":"&"::Text Arg:Cmd Paren Args:C\n\ Cmd Bracket Args:"\\[":"\\]":"$":Text Arg2:Command:\n\ Bracket Color:"&":"&"::Text Arg:Cmd Bracket Args:C\n\ Sub Command:"([_^]|([\\\\@]([A-Za-z]+\\*?|[^A-Za-z$&%#{}~\\\\ \\t])))":::Text Key1:Cmd Brace Args:\n\ Sub Brace:"\\{":"}"::Text Arg2:Cmd Brace Args:\n\ Sub Sub Brace:"\\{":"}"::Text Arg2:Sub Brace:\n\ Sub Sub Sub Brace:"\\{":"}"::Text Arg2:Sub Sub Brace:\n\ Sub Sub Sub Sub Brace:"\\{":"}"::Text Arg2:Sub Sub Sub Brace:\n\ Sub Paren:"\\(":"\\)":"$":Text Arg2:Cmd Paren Args:\n\ Sub Sub Paren:"\\(":"\\)":"$":Text Arg2:Sub Paren:\n\ Sub Sub Sub Paren:"\\(":"\\)":"$":Text Arg2:Sub Sub Paren:\n\ Sub Parameter:"#[0-9]*":::Text Arg:Cmd Brace Args:\n\ Sub Spec Chars:"[{}$&]":::Text Arg:Cmd Brace Args:\n\ Sub Esc Chars:"\\\\[$&%#_{}~^\\\\]":::Text Arg1:Cmd Brace Args:\n\ } nedit.languageModes: LaTeX:.tex .sty .cls .dtx .ins::::::