Inline Latex cannot render

Steps to reproduce

$V_0 = \underbrace{\frac{D_0(1 + g_1)}{r-g_1}\left[1-\left(\frac{1+g_1}{1+r}\right)^{a}\right]}_\text{Stage 1} + \underbrace{\frac{D_0(1+g_1)^a(1+g_2)}{(r-g_2)(1+r)^a}\left[1-\left(\frac{1+g_2}{1+r}\right)^{n}\right]}_\text{Stage_2} + \underbrace{\frac{D_0(1+g_1)^a(1+g_2)^{n-a}(1+g_3)}{(r-g_3)(1+r)^n}}_\text{Stage 3}$

Expected result

This is a preview result rendered by Mathpix:

Actual result

The formula cannot render.


  • Operating system: Windows 10
  • Obsidian version: v0.12.3

Your formula is wrong. Please check your formula before submitting bug reports.

Sorry, but I don’t see how it’s wrong :sweat_smile:, and it can also be rendered correctly in Typora.

Does it work in latex?

No :sweat_smile:.

It’s the underscore in Stage_2

1 Like

Indeed. Thanks a lot. :sparkling_heart: