%
% DEBUGGING MACROS
%

% Subversion support
\usepackage{svn-multi}

% sideremark
\newcommand\sideremark[1]{\marginpar
[
\hskip .45in
\begin{minipage}{1.25in}
\tiny \sf #1
\end{minipage}
]
{
\hskip -.075in
\begin{minipage}{1.25in}
\tiny \sf #1
\end{minipage}
}}

% questionSign
\newcommand\questionSign[1]{\marginpar
[
\hskip .45in
\begin{minipage}{1.25in}
\protect{\includegraphics[width=1cm]{gfx/question}}
\tiny \sf #1
\end{minipage}
]
{
\hskip -.075in
\begin{minipage}{1.25in}
\protect{\includegraphics[width=1cm]{gfx/question}}
\tiny \sf #1
\end{minipage}
}}

% disaster
\newcommand\disaster[1]{\marginpar
[
\hskip .45in
\begin{minipage}{1.25in}
\protect{\includegraphics[width=1cm]{gfx/disaster}}
\tiny \sf #1
\end{minipage}
]
{
\hskip -.075in
\begin{minipage}{1.25in}
\protect{\includegraphics[width=1cm]{gfx/disaster}}
\tiny \sf #1
\end{minipage}
}}

% watchOut
\newcommand\watchOut[1]{\marginpar
[
\hskip .45in
\begin{minipage}{1.25in}
\protect{\includegraphics[width=1cm]{gfx/warning}}
\tiny \sf #1
\end{minipage}
]
{
\hskip -.075in
\begin{minipage}{1.25in}
\protect{\includegraphics[width=1cm]{gfx/warning}}
\tiny \sf #1
\end{minipage}
}}

% construction
\newcommand\constructionWarning[1]{\marginpar
[
\hskip .45in
\begin{minipage}{1.25in}
\protect{\includegraphics[width=1cm]{gfx/construction}}
\tiny \sf #1
\end{minipage}
]
{
\hskip -.075in
\begin{minipage}{1.25in}
\protect{\includegraphics[width=1cm]{gfx/construction}}
\tiny \sf #1
\end{minipage}
}}

% approval
\definecolor{approvalBlue}{rgb}{0.95,0.95,1.0}
\newcommand{\approvals}[2][Approval]{%
  \marginpar{\tiny \sf
    \colorbox{approvalBlue}{\begin{tabular}{ll}
      \multicolumn{2}{l}{\vphantom{\large S}#1}\\
      #2
    \end{tabular}}
  }
}

% todo
\newcommand\todo[1]{{\sf \color{red}#1}}

%
% Macros to produce different text for different versions of the paper.
%
\newcommand{\Preprint}[1]{\marginpar{\color{blue}\tiny\sf Preprint only}\begin{color}{blue}#1\end{color}}
\newcommand{\Publication}[1]{\marginpar{\color{teal}\tiny\sf Publication only}\begin{color}{teal}#1\end{color}}


%
% Subversion Support
%
\newcommand{\subversionInfo}{%
  \marginpar{\scriptsize \sf
    \begin{tabular}{ll}
      \rowcolor{gray} \multicolumn{2}{l}{\color{white}\bf \vphantom{\large S}Chapter Info}\\
      \rowcolor{lightgray} \vphantom{\large S}Rev.: & \# \svnfilerev\\ 
      \rowcolor{lightgray} \vphantom{\large S}Date: & \svnfileday.\svnfilemonth.\svnfileyear\\ 
      \rowcolor{lightgray} \vphantom{\large S}Time: & \svnfilehour:\svnfileminute\\ 
      \rowcolor{lightgray} By: & \svnfileauthor
    \end{tabular}
  }
}
