import webview
def create_webview_app():
html_content = """
MathJax con webview
Ecuación simple: $x^2 + y^2 = z^2$
Ecuación compleja:
$$\\sum_{n=1}^{\\infty} \\frac{1}{n^2} = \\frac{\\pi^2}{6}$$
"""
webview.create_window('MathJax App', html=html_content, width=800, height=600)
webview.start()
# Función principal para elegir método
if __name__ == "__main__":
create_webview_app()