TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I make a math-mode asterisk that works like sum or product operator? (To represent the convolution.)

share|improve this question
This question might help: »Define strange operators«. – Thorsten Donig Jan 15 '12 at 21:30
@ThorstenDonig: Thanks, that worked perfectly. – Neil G Jan 15 '12 at 21:41
up vote 12 down vote accepted

The simplest would be to use \Asterisk from the mathabx package, and also the \coAsterisk (not sure what the differences are as they look identical to me).

Alternatively, you could use \scalebox from the graphicx package to re-size the standard \ast to suit. Here is a comparison of these three (\Conv is the custom version) showing the behavior in inline and display mode with indices:

enter image description here


{\small\verb|\Asterisk| \verb|\coAsterisk | \verb| \Conv|}

\hspace{0.35cm}% to simply comparrison
    f \Asterisk^{a}_{b}   g \qquad 
    f \coAsterisk^{a}_{b} g \qquad 
    f \Conv^{a}_{b}       g

    f \Asterisk^{a}_{b}   g \qquad 
    f \coAsterisk^{a}_{b} g \qquad 
    f \Conv^{a}_{b}       g
share|improve this answer
Thanks. Will it work like a "sum" operator that puts the indicies below and above the symbol? – Neil G Jan 15 '12 at 21:39
In that case you can use \mathop. How do you want this to be shown in display mode and inline mode? – Peter Grill Jan 15 '12 at 21:48
I was only using display mode. Will it do as "sum" does in inline mode? – Neil G Jan 15 '12 at 21:52
@GrzegorzWierzowiecki: Nope, I am not that much of a genius. I used \hspace{0.35cm}' to get the inline math to align with the display math, and the \qquad` is just about the right size to align them. So it just looks almost like a table. – Peter Grill Feb 4 '12 at 22:45
@GrzegorzWierzowiecki: Thanks for the complement. I think I originally thought about doing a table, but then when I saw that the output looked reasonable enough as is, I decided not to. You're definitely at the right place to learn -- I've learned almost everything I know about TeX from this site. BTW, I still consider myself at the advanced beginner level, even though my rep may make you believe otherwise, so feel free to ask more questions. I certainly wish I had asked more when I started making my choices on how to do things as it would have saved a lot of grief later. – Peter Grill Feb 4 '12 at 23:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.