In my template I have:
    \long\def\letterclosing#1#2{
        \blank[line]#1,
        \blank[3*line]#2
    }

And in the main file I have:
    \letterclosing{Hoogachtend}{Cecil Westerhof}

But I would like to have this as the default, so I could use:
    \letterclosing

Beside that I would like to have the possibility to use:
    \letterclosing{business}
or
    \letterclosing{family}

This would then use defined values.

When the first parameter is filled, but not with a recognized value,
then the second parameter should be filled. If not, the compilation of
the file should generate an error. Is this something that can be done?

-- 
Cecil Westerhof
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to