简体   繁体   中英

Latex environment setting

I am opened a free site in Weebly . I want to post there regular Latex math equation. Is it possible to set the LAtex language there. If not possible then any other way to set there?

You can use MathJax on Weebly. To quote from here :

Click on the Design tab at the top of the page, then click on the Edit HTML/CSS button at the bottom-left. For each file listed under the Page Layouts section of the editor, paste the following code just after the line with the tag on it:

 <script type="text/x-mathjax-config">
  MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']],
                       displayMath: [['\\[','\\]'], ['$$','$$']]}});
</script>
<script type="text/javascript"
  src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>

Click on the Save button at the top-right, pick a name for your theme (or leave the default one), and then publish your site. You're done! Here's how it looks on my Weebly site.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM