Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How can i write my own math operator with limits? I want it to look like: \sum\limits_{e=1}^{m} but with a capital A (if possible bigger than the normal text) instead of the sum. Thanks for the help!

share|improve this question

migrated from stackoverflow.com Jul 18 '11 at 20:57

This question came from our site for professional and enthusiast programmers.

Thanks for all the answers! really quick, really precise!! –  user6776 Jul 19 '11 at 8:35

5 Answers 5

  {\vcenter{\hbox{\huge A}}}
  {\vcenter{\hbox{\Large A}}}{\mathrm{A}}{\mathrm{A}}}\displaylimits}

In this way the "A" will be as large as the \sum symbol.

enter image description here

share|improve this answer

Use the \DeclareMathOperator* command provided by the amsmath package. Example:

\[ \Aop^a_b \]
share|improve this answer

Use \mathop to turn A into a "math operator", and then use \limits to do sum-style limits:


Do you really want A, or do you want \bigwedge?

share|improve this answer
  \mathchoice{\vcenter{\hbox{\huge A}}}
             {\vcenter{\hbox{\Large A}}}

\[ \Aop^a_b \sum_a^b \]

$ \Aop^a_b \sum_a^b $


enter image description here

share|improve this answer

egreg's answer is fine but works poorly for existing mathematical symbols. I recommend the following:

{\vcenter{\hbox{\huge $#1$}}}
{\vcenter{\hbox{\Large $#1$}}}{#1}{#1}}\displaylimits}

To define an operator 'A', you can now type


But you can also define an operator Theta:


Just remember that in the argument you pass to \operator, you are in math mode.

share|improve this answer

Your Answer


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