You are not logged in.
Pages: 1
I wanted to mod out by a subgroup inline like I would when I normally write them, so I made this command:
\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?
"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."
Offline
{\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?
Offline
Yea, but I don't like the look of either of them. And mine is no more "forced" than yours is. What I'm looking for is if there is a built in command to do this.
"In the real world, this would be a problem. But in mathematics, we can just define a place where this problem doesn't exist. So we'll go ahead and do that now..."
Offline
Pages: 1