How can I fix the alignment of bullet points and inline display math in a list?

Here is my formula:

for $k = 1,...,n$
- hey
- if $k = i:$ $theta_k$ appears only in the term $log (1-theta_i/f(s))$, so $display(log pi_theta (s,i) = -1/(f(s)-theta_i))$

This however does not render nicely in the sense that the bullet points and the text for inline math is not on the same line

I think it has to do with using display inside a bullet point list as inline mode

You can find earlier discussions here:

Not about math, but same issue:

And an even older post where the accepted answer predates the new solution (itemize)

tl;dr: use the itemize package :slight_smile: