Jump to content
uniGUI Discussion Forums
Sign in to follow this  
ma4balaka

Написание формул

Recommended Posts

В принципе сложностей не вижу.

Учитывая, что такой код работает

<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0-alpha1/katex.min.css" integrity="sha384-8QOKbPtTFvh/lMY0qPVbXj9hDh+v8US0pD//FcoYFst2lCIf0BmT58+Heqj0IGyx" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.9.0-alpha1/katex.min.js" integrity="sha384-GR8SEkOO1rBN/jnOcQDFcFmwXAevSLx7/Io9Ps1rkxWp983ZIuUGfxivlF/5f5eJ" crossorigin="anonymous"></script>
</head>
<body>
<script>
document.write(katex.renderToString("c = \\pm\\sqrt{a^2 + b^2}"));
</script>
</body>

Попробуйте какому-нибудь Ext.Panel сделать update (katex.renderToString("c = \\pm\\sqrt{a^2 + b^2}"))

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×