Inline math with \displaystyle overlaps following text

  • Bear Version: Version 2.5.2 (13635)
  • OS Version: macOS 15.6.1
  • What were you doing: Typing inline LaTeX math in a note.
  • What feature did you use: Inline math rendering with $\displaystyle ...$.
  • What happened: When using \displaystyle inside inline math, the rendered equation (e.g., $\large \displaystyle \sum_i X_i$) overlaps with the following line of text. The vertical spacing does not adjust to account for the larger math rendering.
  • What did you expect to happen: The inline math block should expand the line height appropriately so that the formula does not overlap with the text below.
  • Additional Comment: I find the default LaTeX font size in Bear quite small when using most fonts. I often need to prepend \large to every math expression, which is a bit cumbersome. It would be nice if Bear could either increase the default math font size slightly or allow users to configure it.