\IfFileExists{.lxformat_print}
{
\input{tailprint}
}{
\input{tailbeamer}
}
