Am 14.02.2011 um 01:37 schrieb David Arnold: > All, > > I have the following in a Context file: > > \definetyping[XXX] > > \startXXX > If int(N/2) \ne N/2 > > Then > Disp "N MUST BE EVEN" > Stop > End > \stopXXX > > Is there an easy way to replace the \ne with code that will produce the > normal "not equals" symbol produced by amsmath?
Use the \startlines environment. MkII: \startlines\tt If int(N/2) $\ne$ N/2 Then Disp "N MUST BE EVEN" Stop End \stoplines MkIV: \definelines[XXX][style=mono] \startXXX If int(N/2) $\ne$ N/2 Then Disp "N MUST BE EVEN" Stop End \stopXXX or \startlines[style=mono] If int(N/2) $\ne$ N/2 Then Disp "N MUST BE EVEN" Stop End \stoplines Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________