Recognitions:

## LaTex in Lyx differs from LaTex on forum?

Are there supposed to be significant differences in how LaTex is displayed in the Lyx editor and how LaTex is displayed by the processor used by this forum?

On this forum, the LaTex expression \int_a^b f(x) dx shows an integral with lower limit a and upper limit b. When I ( as a novice user) type this expression into Lyx, I get an integral with the lower limit a^b.

(I prefer the way the LaTex processor on this forum does it.)
 PhysOrg.com science news on PhysOrg.com >> New language discovery reveals linguistic insights>> US official: Solar plane to help ground energy use (Update)>> Four microphones, computer algorithm enough to produce 3-D model of simple, convex room

Mentor
 Quote by Stephen Tashi Are there supposed to be significant differences in how LaTex is displayed in the Lyx editor and how LaTex is displayed by the processor used by this forum? On this forum, the LaTex expression \int_a^b f(x) dx shows an integral with lower limit a and upper limit b. When I ( as a novice user) type this expression into Lyx, I get an integral with the lower limit a^b. (I prefer the way the LaTex processor on this forum does it.)
I don't know this for sure, but it might be that the Lyx processor is more picky than the one here. It could be that you need to use braces around each of the limits, like this:
\int_{a}^{b} f(x) dx

The LaTeX processor in use here requires braces when the limits contain more than one character, so if the lower limit happened to be -a and the upper limit were 2b, you would have to include braces, like so:
\int_{-a}^{2b} f(x) dx
 Recognitions: Science Advisor By experimentation, I determined that the Lyx processor is very particular about the use of the spacebar key. If I type \int_a ^b (with a space between 'a' and '^') then I get b as the upper limit of integration.

Recognitions:
 Recognitions: Science Advisor When I view the page source, the LaTex that is actually there is: $\int_{a}^{b}f(x)$ so I think the behavior of the spacebar key is peculiar to Lyx.