\newif\iftth
\iftth
\definecolor{ivoacolor}{rgb}{0.0,0.318,0.612}
\newcommand{\tthmaketitle}{\par
  \begingroup
    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
    \long\def\@makefntext##1{\parindent 1em\noindent
            \hb@xt@1.8em{%
                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
    \@maketitle
    \thispagestyle{plain}\@thanks
  \endgroup
  \setcounter{footnote}{0}%
  \global\let\thanks\relax
  \global\let\maketitle\relax
  \global\let\@maketitle\relax
  \global\let\@thanks\@empty
  \global\let\@editor\@empty
  \global\let\@author\@empty
  \global\let\@date\@empty
  \global\let\@version\@empty
  \global\let\@title\@empty
  \global\let\title\relax
  \global\let\editor\relax
  \global\let\author\relax
  \global\let\date\relax
  \global\let\version\relax
  \global\let\and\relax
}
% Define new items for the IVOA header
\newcommand{\ivoatype}[1]{\def\@ivoatype{#1}}
\newcommand{\ivoagroup}[1]{\def\@ivoagroup{#1}}
\newcommand{\version}[1]{\def\@version{#1}}
\newcommand{\editor}[1]{\def\@editor{#1}}
\newcommand{\author}[1]{\def\@author{#1}}
\newcommand{\date}[1]{\def\@date{#1}}
\newcommand{\title}[1]{\def\@title{#1}}
\newcommand{\urlthisversion}[1]{\def\@urlthisversion{#1}}
\newcommand{\urllastversion}[1]{\def\@urllastversion{#1}}
\newcommand{\previousversion}[1]{\def\@previousversion{#1}}
% give default values to new items
\ivoatype{}
\version{}
\editor{}
\urlthisversion{}
\urllastversion{}
\previousversion{}
\def\@maketitle{%
  \vskip 1.0em%
  \let \footnote \thanks%
    {\Large\color{ivoacolor}\sffamily\bfseries Version \@version}%
    \vskip 2.0em%
    {\Large\color{ivoacolor}\sffamily\bfseries \@ivoatype{ }\@date}%
    \vskip 2.0em%
    %\begingroup
    %\begin{trivlist}\parindent=2em
    {\large
    \begin{description}
    \item[This version:] {\normalsize\@urlthisversion}
    \item[Latest version:] {\normalsize\@urllastversion}
    \item[Previous versions:] {\normalsize\@previousversion}
    \item[Working Group:] \@ivoagroup
    \item[Authors:] \@author
    \item[Editors:] \@editor
    \end{description}
    }
}
\else
  \newcommand{\maketit}{}
\fi
