I am interested in defining some customized math symbols out of existing ones. For example I would like to distinguish between different types of sums, so beside the usual symbol
I would like to have something of the form
so there are some circles in the corners. It should work just like the usual \sum
command and look exactly like it (except the modification).
How could I create such a symbol in the most painless way? Is Metafont
the answer? Is it possible to modify existing symbols in Metafont
without too much work and expertise?
Best Answer
You could create your own symbol using
ooalign
as demonstrated in
ooalign
The subtle thing in the code below is that I've used a
\phantom{sum}
in thedisplaystyle
version to make sure that limits of thesum
are displayed correctly. Without it, you loose the correct display of the upper limit.If the circles aren't exactly where you want them, you can move them around by playing with the numbers in the code.