-
Notifications
You must be signed in to change notification settings - Fork 51
Can't use two formula on single line #10
Comments
Just FYI I can definitely use |
What version of gitbook are you using ? the 2.0.0-alpha ? |
Same issue. Seems Mathjax handled the text in middle as the formula. <script type="text/x-mathjax-config;executed=true">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'] ],
processEscapes: true
}
});
</script> The example is here: 其中,$x'_\text{new}$、$p'_\text{new}$ 的定义为: But, sometimes, that's OK to write two formula in a single line, as in the same example above: |
I've found that it's caused by the pair of |
I've solved the problem by modifying the code.
|
First, thanks for the awesome plugin!
When I have a line that contains just a single formula it gets centered with padded with vertical padding as expected. The problem I have is when I want to start and end a line with a formula, something like:
This gets rendered as a single formula, the two inner-most delimiters getting interpreted as part of a larger formula, here's a screenshot:
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: