question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Integral limits with brackets don't work

See original GitHub issue

I am trying to render an integral with limits that require subscripts so I’ll need to wrap them with braces. However, KaTeX is breaking whenever there are braces present in the limits:

$$ z(t_1) = z(t_0) + \int_a^b f(z(t),t,\theta) dt $$ works

$$ z(t_1) = z(t_0) + \int_{a}^{b} f(z(t),t,\theta) dt $$ fails with no error.

In particular the only difference is the inclusion of braces in the limits (which will be needed for subscripts).

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
edemainecommented, Jun 6, 2019

Great! Glad you got it working.

0reactions
jessebettcommented, Jun 6, 2019

Actually, @edemaine you are correct. I missed one \_ and doing so fixed it. Thanks! I will link this thread as an issue in remark.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it required to use brackets inside an integral?
I disagree with the other answers here. ∫x2+2xdx. is not correct; the integral needs to be written as. ∫(x2+2x)dx. instead.
Read more >
How to Integrate Brackets with Powers - YouTube
In this tutorial we will look at how you deal with integrals which involve brackets raised to a power. This will only consider...
Read more >
How to do Integration by Parts with limits - YouTube
In this video, I'll show you some examples of how to do integration by Parts by with limits following some simple steps.By parts...
Read more >
[Solved] Upper & lower limits after closing square bracket
I have no problem entering upper and lower limits to the integral (int) symbol. However, after evaluating the integral, the expression should be ......
Read more >
What do the square brackets in integration mean? - Quora
and doesn't have any strict meaning. It just helps make the math look cleaner. Some subtle variations that look like square brackets but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found