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.

I'd like to declare a new math operator called the "strong limit" as follows:

\DeclareMathOperator{\slim}{s-lim}

So it's just "lim" (i.e., \lim), but with an "s-" in front. I want to be able to write things like \slim_{t\to \pm \infty}. And I can, and it compiles. However, it always puts the limit out to the right-hand side, never directly underneath the "s-lim" -- even when I try to use the \limits_{...} option. Is there any way to correct this?

share|improve this question
add comment

1 Answer

\DeclareMathOperator*{\slim}{s-lim}

This will put limits underneath in display math mode (not in text mode, but will obey to \limits).

share|improve this answer
    
Incredible...that worked like a CHARM...thanks so much! What exactly does putting the asterisk there do BTW? –  Adam Jul 19 '11 at 16:35
3  
Many LaTeX commands have a *-form that does slightly different things; in this case the command tells that the operator name should allow limits above and below in display math mode. –  egreg Jul 19 '11 at 16:38
add comment

Your Answer

 
discard

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.