%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                          %
% cass.tex      (c) 1993 Helmut Kindler                                    %
%                                                                          %
% $VER: cass V1.1 (7.4.93)                                                 %
%                                                                          %
% Commands to create nice labels for MC's (Music-Cassettes)                %
%                                                                          %
% Autor:  Helmut Kindler             Helmut Kindler                        %
%         Stirnbrandstr. 13          Breitestr. 34                         %
%         70193 Stuttgart            72513 Hettingen                       %
%         GERMANY                    GERMANY                               %
%                                                                          %
% E-Mail: Helmut.Kindler@dlr.de                                            %
%         helmut@ifsw.uni-stuttgart.de                                     %
%         Helmut_Kindler@s4.maus.de                                        %
%         Helmut_Kindler@bl.maus.de                                        %
%                                                                          %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                          %
% This file may be copied for free as long as the copyright in the third   %
% line is left as it is.                                                   %
%                                                                          %
% I would like to hear from the users of this macros, so just sit down and %
% write to me.                                                             %
%                                                                          %
% Let me know what I can do to improve the macros.                         %
%                                                                          %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                          %
% usage: \input cass                                                       %
%        you must not use the command '\documentstyle' afterwards          %
%                                                                          %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                          %
% New commands:                                                            %
%                                                                          %
% \cass {}{}{}{}     Makes a new label. The first argument is the small    %
%                    side of the cassette, the next two arguments are the  %
%                    songtitles of the first and second side. The last     %
%                    argument is set in the lower right corner of the      %
%                    label and is usually used for strings like "dolby C". %
%                                                                          %
% \cassno {}{}{}{}{} the same as \cass, but the first argument is a        %
%                    registration number of the cassette. A maximum of     %
%                    three digits may be used. The digits have to be       %
%                    separated with  "\\" (eg.: {1\\2\\3}).                %
%                    The next args are the same as in \cass.               %
%                                                                          %
%                                                                          %
% Macros for the small side:                                               %
%                                                                          %
% \titel  {}{}{}{}   the arguments are:                                    %
%                    titleA subtitleA titleB subtitleB                     %
% \titelc  {}{}{}    like \titel, but there is only one title.             %
% \titelC  {}{}{}    like \titelc, but another layout.                     %
% \titelcc {}{}      like \titelc, but there is only one subtitle.         %
% \titelT  {}        like \titelcc, but there is no subtitle.              %
%                                                                          %
%                                                                          %
% Macros for internal use (could be used external as well):                %
%                                                                          %
% \CassLabel {}      like \cass, but only the small side is made           %
% \CassLabelNo {}{}  like \cassno, but only the small side is made         %
% \CassText {}{}{}   like \cass, but there is no small side                %
%                                                                          %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                          %
% Here is how a label may look like:                                       %
%                                                                          %
%   \cassno {1\\2\\3}                % or just \cass                       %
%     { \titel {tA} {sA} {tB} {sB} } % or another "\titelxxx"-command      %
%     { song 1\\                                                           %
%       song 2\\                                                           %
%       ...                                                                %
%       song x                       % don't use "\\" here or else you     %
%       }                            % will get a warning within LaTeX!    %
%     { ... }                                                              %
%     { dolby C }                    % or anything you like                %
%                                                                          %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentstyle [german] {article}
\pagestyle {empty}
\parindent0pt            % no parindent
\parskip0pt              % no parskip
\topmargin0pt            % no top margin
\headheight0pt           % no head
\headsep0pt              % no head separator
\footheight0pt           % no footer
\footskip0pt             % no foot separator
\topskip0pt              % no topskip
\evensidemargin2.4668mm       % left margin Xmm
\oddsidemargin2.4668mm        % the same on odd pages
\textwidth204mm          % textwidth
\voffset-0.5in           % printer top offset 0,5 inch
\hoffset-0.9in           % printer left offset 0,1 inch
\textheight260mm         % textheight

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                         %
% Macros to produce the labels (user-macros)                              %
%                                                                         %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Whole label                                                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand {\cass} [4]                         %
{   \unitlength1mm                              % normal label
    \begin {picture}(100,79.5)                  %
        \put (-1,66.5) {\CassLabel {#1}}        % title
        \put (-1,0) {\CassText {#2} {#3} {#4}}  % songs
    \end {picture}                              %
}

\newcommand {\cassno} [5]                       %
{   \unitlength1mm                              % label with reg. No.
    \begin {picture}(100,79.5)                  %
        \put (-1,66.5) {\CassLabelNo {#1} {#2}} % title
        \put (-1,0) {\CassText {#3} {#4} {#5}}  % songs
    \end {picture}                              %
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% small side                                                              %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand {\CassLabel} [1]                    %
{   \unitlength1mm                              % normal label
    \begin {picture}(100,13)                    %
        \put (0,0)                              %
        {   \framebox (101,12){}                % title
        }                                       %
        \put (1,5.5)                            %
        {   \begin {minipage} {99mm}            %
                #1%                             %
            \end {minipage}                     %
        }
    \end {picture}
}

\newcommand {\CassLabelNo} [2]                  %
{   \unitlength1mm                              % label with reg. No.
    \begin {picture}(100,13)                    %
        \put (97,0)                             %
        {   \framebox (4,12)                    % number
            {\large\shortstack{#1}}             %
        }
        \put (0,0)                              %
        {   \framebox (96,12){}                 % title
        }                                       %
        \put (1,5.5)                            %
        {   \begin {minipage} {94mm}            %
                #2%                             %
            \end {minipage}                     %
        }
    \end {picture}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Text                                                                    %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand {\CassText} [3]
{   \unitlength1mm
    \begin {picture}(100,65)
        \put (0,0)   {\CassRahmen}          % text side A
        \put (0,64)  {\CassSpalte {#1}}     %
        \put (51,0)  {\CassRahmen}          % text side B
        \put (51,64) {\CassSpalte {#2}}     %
        \put (100,2)                        %
        {   \makebox (0,0) [br] {#3}        % dolby X
        }                                   %
    \end {picture}
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Macros for the layout of the text                                       %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand {\CassRahmen}
{   \framebox (50,65) [tl] {}}

\newcommand {\CassSpalte} [1]
{   \makebox (0,0) [tl]
    {   \begin {minipage} [t] {48mm}
            #1%
        \end {minipage}
    }
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                                                                         %
% Some macros for the small side (user-macros)                            %
%                                                                         %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand {\titel} [4]            %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{   \huge  #1 \hfill \huge  #3\\    %Title A             Title B%
    \small #2 \hfill \small #4}     %Subtitle A       Subtitle B%
                                    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand {\titelc} [3]           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{   \centerline {\huge  #1}         %           Title           %
    \small #2 \hfill \small #3}     %Subtitle A       Subtitle B%
                                    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand {\titelC} [3]           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{   \small #2 \hfill \Huge  #1%     %Subt.A     TITLE     Subt.B%
    \hfill \small #3}               %%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand {\titelcc} [2]          %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{   \centerline {\huge  #1}         %           Title           %
    \centerline {\small #2}}        %          Subtitle         %
                                    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand {\titelT} [1]           %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
{   \centerline {\Huge  #1}}        %           Title           %
                                    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
