0

When I write latex like

Evaluate $\int_4^16 x\ dx$. \\ 

I expect to get an integral like

Good

but instead I get

Bad

How do I get the integral I'm looking for?

4

Use curly braces to enclose the bounds, like so:

Evaluate $\int_{4}^{16} x\ dx$. \\ 
  • 1
    Note there is nothing specific about integrals or superscripts here. LaTeX arguments should always be in {} although it is sometimes safe to omit the {} if the argument is a single token. – David Carlisle Jun 24 '13 at 14:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.