Announcement

Collapse
No announcement yet.

LaTeX question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • LaTeX question

    Hello,

    I have a simple question for the LaTeX users in here. In my document, I have the following:
    Code:
    \documentclass{book}
    \usepackage{titlefoot}
    \usepackage{geometry}
    \usepackage{epsfig}
    \usepackage{theorem}
    \usepackage{multirow}
    \usepackage{multicol}
    \usepackage{amsfonts}
    (I'm using the latest stable MiKTeX on Windows)

    Now, I'm trying to write a formula which uses the supremum: \sup.

    I seem to recall that $\sup_X$ would put the X below the sup (not in a normal subscript way), just like it would with $\lim_{a \rightarrow 0}$.
    For some strange reason, the system puts the X as if it were a normal subscript; both in the case of \sup, and in the case of \lim.

    Any suggestions on why this is the case?

    Thanks!


    Jorg
    pixar
    Dream as if you'll live forever. Live as if you'll die tomorrow. (James Dean)

  • #2
    Found it... It depends on the style used in the math environment. Using \[ \] as math environment delimiters works; but I could not use it because I wanted an equation array that was numbered.

    The workaround is to simply put: \displaystyle{sup_X} inside the math environment (in my case: eqnarray). This tells LaTeX to use the style from the \[ \].


    Jörg
    pixar
    Dream as if you'll live forever. Live as if you'll die tomorrow. (James Dean)

    Comment

    Working...
    X