When I write latex like

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

I expect to get an integral like


but instead I get


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


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.