LaTex with usepackage{MnSymbol}

I am new here, when I use latex function and try to draw a circle I met a problem.
the latex works on overleaf like this:

\usepackage{MnSymbol}
$\bigcircle$

I am not sure how to achieve this with streamlit.latex()

Streamlit renders TeX using KaTeX. It’s more limited than all you can do in Overleaf, for instance, you cannot bring additional packages. Check here all the stuff that is supported by KaTeX and that can be put in a Streamlit app:

thank you for your confirmation, I will find another way to solve this problem then.

To be fair, KaTeX supports most Unicode symbols.

image

import streamlit as st

st.latex(
    r"""
    \textsf{A big circle: } \char"25ef
    \\
    \textsf{Ball: } \char"26aa
    """ 
)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.