% fetdefs.tex
% encapsulating tex backend for auto-generated feta definitions

\def\fetsixteendefs{
        \font\feta=feta16
        \font\vetfont=feta-beams16
        \font\fetanummer=feta-nummer8
        \font\dynfont=feta-din10 scaled \magstep1
        \font\bracefont=feta-braces16
        \font\fingerfont=feta-nummer4
}
\def\fettwentydefs{
        \font\feta=feta20
        \font\vetfont=feta-beams20
        \font\fetanummer=feta-nummer10
        \font\dynfont=feta-din10 scaled \magstep2
        \font\bracefont=feta-braces20
        \font\fingerfont=feta-nummer5
}
\def\fettwentysixdefs{
        \font\feta=feta26
        \font\vetfont=feta-beams26
        \font\fetanummer=feta-nummer12
        \font\dynfont=feta-din10 scaled \magstep3
        \font\bracefont=feta-braces16
        \font\fingerfont=feta-nummer7
}
\def\fetthirteendefs{
      \font\feta=feta13
        \font\vetfont=feta-beams26
        \font\fetanummer=feta-nummer5
        \font\dynfont=feta-din10 scaled \magstep0
        \font\bracefont=feta-braces16
        \font\fingerfont=feta-nummer3
}
\def\fetelevendefs{
        \font\feta=feta11
        \font\vetfont=feta-beams26
        \font\fetanummer=feta-nummer5
        \font\dynfont=feta-din10 %scaled \magstep-1
        \font\bracefont=feta-braces16
        \font\fingerfont=feta-nummer3
}


\def\sixteenfonts{\fetsixteendefs\cmrsixteen}
\def\twentyfonts{\fettwentydefs\cmrtwenty}
\def\twentysixfonts{\fettwentysixdefs\cmrtwenty}
\def\elevenfonts{\fetelevendefs\cmreleven}
\def\thirteenfonts{\fetthirteendefs\cmrthirteen}
\def\fetdef#1#2{\def#1{%
        \hbox{\fetchar{#2}}}}

\def\fetchar#1{\feta\char#1}

%\input feta16
\input feta20

% stacked numbers; overrules def in lilyponddefs
% widest num should be .40 balkheight
% oeps: \meter 12/8;
\def\generalmeter#1#2{%
        \vbox to 0pt{\vss%
        \hbox to0.45\staffheight{\hss\fetanummer #1\hss}%
        \nointerlineskip%
        \hbox to0.45\staffheight{\hss\fetanummer #2\hss}%
        \vss}}

\def\pianobrace#1{{\bracefont\char #1}}

\def\embeddedtex#1{}
\def\embeddedps#1{}
\def\embeddedmf#1#2{}
\def\embedclose{}

\input lily-ps-defs

% uncomment to use runtime MF
%
% \input lily-mf-defs

\def\EndLilyPondOutput{
        \embedclose
        \csname bye\endcsname
}



