%
%  LaTeX + EEPIC Output Template for VideoLab
%  This Template is Copyright ©1995 by Christoph Rickers
%  VideoLab is Copyright ©1996 by Christoph Rickers
%
%  This template is for the cassette header (14.8 x 2.0 cm) and for a
%  maximum of 4 film-titles, it may show a cassette number and the length
%  of the cassette (e.g. E-180, E-240, E-260,...)
%  It also includes a label for the side of the cassette which will hold
%  more information on the films
%
%  This is the Header template file (tape id max is 9999)
%  This is only to be used together with VideoLab.
%
%  The following parameters determine the lengths of titles in the header file
%
%HTLEN=52
%

\setlength{\unitlength}{0.00087489in}
%
\begingroup\makeatletter\ifx\SetFigFont\undefined
% extract first six characters in \fmtname
\def\x#1#2#3#4#5#6#7\relax{\def\x{#1#2#3#4#5#6}}%
\expandafter\x\fmtname xxxxxx\relax \def\y{splain}%
\ifx\x\y   % LaTeX or SliTeX?
\gdef\SetFigFont#1#2#3{%
  \ifnum #1<17\tiny\else \ifnum #1<20\small\else
  \ifnum #1<24\normalsize\else \ifnum #1<29\large\else
  \ifnum #1<34\Large\else \ifnum #1<41\LARGE\else
     \huge\fi\fi\fi\fi\fi\fi
  \csname #3\endcsname}%
\else
\gdef\SetFigFont#1#2#3{\begingroup
  \count@#1\relax \ifnum 25<\count@\count@25\fi
  \def\x{\endgroup\@setsize\SetFigFont{#2pt}}%
  \expandafter\x
    \csname \romannumeral\the\count@ pt\expandafter\endcsname
    \csname @\romannumeral\the\count@ pt\endcsname
  \csname #3\endcsname}%
\fi
\fi\endgroup
\special{ifffile=$HBACK hsize=14.75cm vsize=2.01cm hoffset=0.54cm voffset=2.07cm $DITHER $GAMMA}
\begin{picture}(6684,3459)(0,-10)
\thicklines
\path(12,3432)(6672,3432)(6672,2532)(12,2532)(12,3432)                                          % Header-Umrandung
\path(237,2982)(5997,2982)                                                                      % Trennlinie, Header
\put(732,3117){\makebox(0,0)[lb]{\smash{{{\SetFigFont{8}{9.6}{rm}$HTITLE_1}}}}}
\put(6312,2982){\special{ifffile=VideoLab:Images/$NR_2 hsize=0.46cm vsize=0.26cm }}
\put(732,2757){\makebox(0,0)[lb]{\smash{{{\SetFigFont{8}{9.6}{rm}$HTITLE_2}}}}}
\put(6312,3117){\special{ifffile=VideoLab:Images/$NR_1 hsize=0.46cm vsize=0.26cm }}
\put(237,3117){\makebox(0,0)[lb]{\smash{{{\SetFigFont{8}{9.6}{rm}$TIME_1}}}}}
\put(6312,2847){\special{ifffile=VideoLab:Images/$NR_3 hsize=0.46cm vsize=0.26cm }}
\put(237,2757){\makebox(0,0)[lb]{\smash{{{\SetFigFont{8}{9.6}{rm}$TIME_2}}}}}
\put(5457,3117){\makebox(0,0)[lb]{\smash{{{\SetFigFont{8}{9.6}{rm}$LEN_1}}}}}
\put(6312,2712){\special{ifffile=VideoLab:Images/$NR_4 hsize=0.46cm vsize=0.26cm }}

\put(6087,2735){\special{ifffile=VideoLab:Images/$CASLEN hsize=0.3cm vsize=1.0cm }}
\put(5457,2757){\makebox(0,0)[lb]{\smash{{{\SetFigFont{8}{9.6}{rm}$LEN_2}}}}}
\end{picture}

