% Makros:
%       \Fig{figure}{text}      : creates an mbox around 'figure' and
%                                 writes 'text' at the bottom with leading
%                                 'Fig. section.figno:'.
%                                 Example:
%                                 \Fig{\epsfxsize30mm \epsffile{x.eps}}{the x}\\%       \FigNoEntry{}{}         : same as above, no entry in figures list
%
%       \FigCaption{}           : line with figure caption, setting figure
%                                 counter and figures list
%

%****************************************************************************
%       Figure makro for graphics continously enumerated.
%
\newcounter{FigCnt}[section]
\newcommand{\Fig}[2]%
{
        \refstepcounter{FigCnt}
        \addcontentsline{lof}{figure}%
                {\protect\numberline{\thesection.\arabic{FigCnt}}{#2}}
        \mbox{#1}
\nopagebreak

        {Abbildung \thechapter.\arabic{FigCnt}: \it #2}
}

\newcommand{\FigNoEntry}[2]%
{
        \refstepcounter{FigCnt}
        \mbox{#1}
\nopagebreak

        {Figure \thesection.\arabic{FigCnt}: \it #2}
}

\newcommand{\FigCaption}[1]%
{
        \refstepcounter{FigCnt}
        \addcontentsline{lof}{figure}%
                {\protect\numberline{\thesection.\arabic{FigCnt}}{#1}}

        {Abbildung \thechapter.\arabic{FigCnt}: \it #1}
}

