The document with an overwhelming LaTeX-based sections or subsections would be difficult to navigate with the outline, as the LaTeX codes have not been rendered.
Proposed solution
The LaTeX codes in outlines pane could be rendered.
I was just about to post a similar feature request (though I’d personally consider it more of a bug report than a feature request).
Ideally, latex should also be rendered in the file explorer, to allow for file names using latex, and then also in graph view. It’s hard to organise a math-based vault without such features.