16

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?

1 Answer 1

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

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

2
  • Incredible...that worked like a CHARM...thanks so much! What exactly does putting the asterisk there do BTW?
    – Adam
    Commented Jul 19, 2011 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
    Commented Jul 19, 2011 at 16:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .