{\raise0.5ex\hbox{$\scriptstyle 1$}
\kern-0.1em/\kern-0.15em
\lower0.25ex\hbox{$\scriptstyle 2$}}
Or
{\raise0.7ex\hbox{$1$} \!\mathord{\left/
{\vphantom {1 2}}\right.\kern-\nulldelimiterspace}
\!\lower0.7ex\hbox{$2$}}
Does that make sense?
]]>\providecommand{\gmod}[2]{{}^{#1} \!\!\! \diagup \!\! _{#2}}
Which produces:
Which is basically the same way you would do a fraction. But I can't seem to find any built in function which would allow me to do this. My command isn't all that great because it looks horrible for more complex examples. Anyone know the proper way to produce this?
]]>