0

次の行を表示しようとしています。

<div id="theDiv">
Well, here is the function we have been talking of $$y = ln(e|^[| sin(|x|) |] |)$$ so thats the beauty.
</div>

この div の内容は動的に読み込まれるため、M.parseMath(theDiv); を適用します。

正常に動作しますが、関数 $$y = ln(e|^[| sin(|x|) |] |)$$ が独自の新しい行に表示されています。

Well, here is the function we have been talking of 
$$y = ln(e|^[| sin(|x|) |] |)$$ (See this is on a line of its own!)
so thats the beauty.

なぜ新しい行なのか - それを避ける方法は?

4

2 に答える 2

2

数式の前後に $$ の代わりに $ を使用します。http://mathscribe.com/author/jqmath.htmlを参照してください。

于 2016-04-18T19:09:29.507 に答える