I like to know how I can put LaTeX inside the labels and options of streamlit widgets eg. st.number_input
, st.checkbox
, st.radio
, st.multiselect
etc.
For example:
import streamlit as st
if st.button("Start answering the questions on $E_k$") is True:
ans = st.radio(
"Select the correct equation of $E_k$",
("$mgh$", "$\\frac{1}{2}mv^2$"))
Is there any hack to get the equations properly appeared?