\ProvidesFile{todos}

%\name{Sergey Goncharov}
%\signature{\bigskip Sergey Goncharov}

%\address{FAU Erlangen-Nürnberg, Martenstr.3, Erlangen}

%\subjecton

\usepackage{ifpdf}	%% For switching between pdf and non-pdf mode
\usepackage{xcolor} 
\usepackage{ifdraft}    %% For access to the draft/final option of the documentclass

\def\todo#1{} % undefine, if defined previously

\ifdraft
{
  \def\ensuretext#1{\ifmmode\text{#1}\else{#1}\fi}
  \def\todo{\@ifstar\@@todo\@todo}
  \ifpdf
    % non-starred version for brief todos 
    \long\def\@todo#1{\ensuretext{\ttfamily\color[RGB]{255,64,64}TODO: #1}}
    % starred version for extensive todos 
    \long\def\@@todo#1{{\hfill\\\noindent\ttfamily\color[RGB]{255,64,64}TODO: #1\hfill\par}}
  \else
  \fi
}
{}




