↧
Answer by nickie for Defining a macro with three optional arguments in the...
This seems to be very easy with xparse. The only thing that seems hard to do is to enforce the exact syntax that you want for differentiating the two last optional arguments. With the solution below,...
View ArticleAnswer by egreg for Defining a macro with three optional arguments in the...
I would use a completely different approach, with a key-value syntax. Six arguments, some of them optional, with a * to denote a missing one are error...
View ArticleDefining a macro with three optional arguments in the form...
I am defining a macro in LaTeX2e for writing function declarations.I want that the macro has tree compulsory arguments: the name of the function (v.g f), a depiction of the type of variable it takes...
View Article