admin管理员组文章数量:1419227
I'm using KaTeX to display equations in my website. But I have some long equations and they flow out the screen. I tried adding
.katex-display > .katex { white-space: normal }
/* Add space between broken lines: */
.katex-display > .base { margin: 0.25em 0 }
/* Compensate by reducing space around display math */
.katex-display { margin: 0.5em 0; }
which is mentioned in the document, but it didn't work for me. I also tried adding
.katex-display { max-width: 90%; }
but it doesn't solve my problem.
本文标签: cssAdd Auto LineBreaks in KaTeX JSStack Overflow
版权声明:本文标题:css - Add Auto Line-Breaks in KaTeX JS - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745289628a2651711.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论