% /***************************************************************************
%     begin                : Mon 9 october 2006
%     copyright            : (C) 2006 by Holger Danielsson, Thomas Braun
%  ***************************************************************************/
% 
% /***************************************************************************
%  *                                                                         *
%  *   This program is free software; you can redistribute it and/or modify  *
%  *   it under the terms of the GNU General Public License as published by  *
%  *   the Free Software Foundation; either version 2 of the License, or     *
%  *   (at your option) any later version.                                   *
%  *                                                                         *
%  ***************************************************************************/
%  description: test document for syntax file latex.xml
% 		(syntax highlighting for \newcommand and \def and others)
%  compiles:	no		

\newcommand{\abc}{ $ start {                    % comment
           test { abc -->  } } end  }   behind  % comment

\newcommand{\abc}[1]{ $ start {                 % comment
           test { abc --> #1 } } end  } behind  % comment

\newcommand{\abc}[1][default]{ $ start {        % comment
           test { abc --> #1 } } end  } behind  % comment

\newcommand*{\abc}{ $ start {                    % comment
           test { abc -->  } } end  }   behind  % comment

\newcommand*{\abc}[1]{ $ start {                 % comment
           test { abc --> #1 } } end  } behind  % comment

\newcommand*{\abc}[1][default]{ $ start {        % comment
           test { abc --> #1 } } end  } behind  % comment


\renewcommand{\abc}{ $ start {                    % comment
           test { abc -->  } } end  }   behind  % comment

\renewcommand{\abc}[1]{ $ start {                 % comment
           test { abc --> #1 } } end  } behind  % comment
\renewcommand{\abc}[1][default]{ $ start {        % comment
           test { abc --> #1 } } end  } behind  % comment


\renewcommand*{\abc}{ $ start {                    % comment
           test { abc -->  } } end  }   behind  % comment

\renewcommand*{\abc}[1]{ $ start {                 % comment
           test { abc --> #1 } } end  } behind  % comment
\renewcommand*{\abc}[1][default]{ $ start {        % comment
           test { abc --> #1 } } end  } behind  % comment


\providenewcommand{\abc}{ $ start {                    % comment
           test { abc -->  } } end  }   behind  % comment

\providenewcommand{\abc}[1]{ $ start {                 % comment
           test { abc --> #1 } } end  } behind  % comment

\providenewcommand{\abc}[1][default]{ $ start {        % comment
           test { abc --> #1 } } end  } behind  % comment


\providenewcommand*{\abc}{ $ start {                    % comment
           test { abc -->  } } end  }   behind  % comment

\providenewcommand*{\abc}[1]{ $ start {                 % comment
           test { abc --> #1 } } end  } behind  % comment

\providenewcommand*{\abc}[1][default]{ $ start {        % comment
           test { abc --> #1 } } end  } behind  % comment


\def\xyz{ $ start  {                            % comment
           test{ abc -->  } } end  }    behind  % comment

\def\xyz#1{ $ start  {                          % comment
           test{ abc --> #1 } } end  }  behind  % comment

\ref{test}

\subref{test}
\subref*{test}
