Alignment of text with TeX formulas in bullet point

What I’m trying to do

I have some “displayed” tex formulas (using \displaystyle) put in some bullet points. In normal preview, everything works fine, i.e., the text is horizontally centered with the bullet point.

image

But when I turn on the Reading view, it’s no longer centered.

image

The markdown text for the above pictures:

- A displayed integral: $\displaystyle \int f(x)dx$.

Things I have tried

I have searched the forum but didn’t find any related topics.

May I ask how to get the reading view to display the formulas correctly?

Are all of your bullet points centered? If not, then it’s actually live preview being wrong I think.

That syntax should give you an inline equation, which should follow the formatting of the rest of the line. So if you want to have the lines normally justified, and the equation centered, you need to enter the finicky world of having cute blocks or in this case a math block within a list.