10 Sep
2012
10 Sep
'12
11:50 p.m.
I have a macro to typeset function definitions: \define[5]\functionarray { \startalign[n=4, align={left,right,center,left}] \NC #1: \NC #2 \NC \to \NC #3 \NR \NC \NC #4 \NC \mapsto \NC #5 \stopalign } I use it like this: (notice the period at the end) \startformula \functionarray{f}{X}{Y}{x}{f(x)}. \stopformula I get the following error: Display math should end with \Ustopdisplaymath ... If I remove the ".", the error does not happen. How should I implement my "functionarray"? Thanks, André Caldas.