Greek alphabet in streamlit.write using $$ for latex formatting

I am trying to write mathematical expressions using streamlit.write() and $$ for latex formatting. Unfortunately, I cannot write $\beta$, it renders like eta an $\rho$ like ho.
I really need to use streamlit.write(), not streamlit.latex() for this case.

Can you please help me?

Thank you.

"\b" is an escape sequence. Use a double backslash or a raw string literal to have a literal backslash.

st.write("$\\beta$")
st.write(r"$\beta$")

Thank you very much