> \mathcode`\'="8000 > This makes ' be an active character in math mode. > > The definition starts like this: > {\catcode\'=\active \gdef'{^\bgroup\prim at s}} Thank you. That's actually quite helpful. Alex