简体   繁体   English

MathJax,我的代码似乎无法完全正常运行,有人可以看看吗?

[英]MathJax, my code doesn't seem to work completely fine, can anybody have a look?

I'm having some weird problem with MathJax. 我在MathJax上遇到了一些奇怪的问题。 Everything on my site works fine, every MathJax snippet, except some subpage. 我的网站上的所有内容都能正常运行,每个MathJax代码段都可以正常运行,除了某些子页面。 I'm making a website about functions and their transformations in Polish. 我正在建立一个有关波兰语的功能及其转换的网站。 When I'm trying to perform the code, it's like it breaks performing in the middle. 当我尝试执行代码时,就像在中间中断执行一样。 I'm attaching a link to the image with the code and the results: 我将使用代码和结果附加到图像的链接: http://s11.postimg.org/d9nrfiw8z/Bez_tytu_u3.png I'm sure I've checked the code in detail... It's really important for me to work fine! 我确定我已经详细检查了代码...对我来说,正常工作非常重要! Thanks in advance. 提前致谢。

The code: 编码:

Funkcja $f(k*x)$ rozciąga się w poziomie dla $k>1 \lor k<-1$, zaś dla $ 1<k \land k<-1 $ jest ona ściśnięta w poziomie.
Funkcja $k*f(x)$ ściska się w pionie dla $k>1 \lor k<-1$, zaś dla $ 1<k \land k<-1$ jest ona rozciągnięta w pionie.
Warto zaznaczyć, iż gdy $k$ jest ujemne, to funkcja dodatkowo obraca się symetrycznie wokół osi OX dla $k*f(x)$ i wokół osi OY dla $f(k*x)$.

Oh, now I got it... The code was broken in the same place where "1< k" is placed, and Firefox reads is as a HTML tag, and this made the MathJax code run not properly. 哦,现在我明白了……代码在放置“ 1 <k”的同一位置被破坏了,Firefox读取的是HTML标记,这使得MathJax代码无法正常运行。 Question can be closed 问题可以关闭

The problem is in the browser processing the (unescaped) < (which makes the HTML invalid) before MathJax gets to it. 问题在于,在MathJax到达之前,浏览器处理了(未转义的) < (使HTML无效)。

Long story short, try $k &gt; 1 \\lor k&lt;-1$ 长话短说,尝试$k &gt; 1 \\lor k&lt;-1$ $k &gt; 1 \\lor k&lt;-1$ to be safe. $k &gt; 1 \\lor k&lt;-1$是安全的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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