When using the \pmod command as a subscript to a sum, I often encounter some extra unwanted space. For example, writing
\[ \sum_{n \equiv 1 \pmod{k}} ... \]
produces the following image:
Does anyone have any ideas to delete the extra white space between the 1 and the open parenthesis?
Best Answer
I'd define a variant of
\pmod
:You can use
\pmod
as before in all other situations and writewhen you need it as a subscript to a sum.
Another way might be to load
amsmath
and redefine\pod
(\pmod
is defined in terms of it):This will avoid having to say
\pmod*
and the result will be the same as shown.