Re: [NTG-context] [OS X TeX] \ne in a definetyping environment in context
15 Feb
2011
15 Feb
'11
1:52 p.m.
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
5059
Age (days ago)
5059
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wolfgang Schuster