Title: Problem with inline equations
Last modified: May 20, 2023

---

# Problem with inline equations

 *  [Daniele Tampieri](https://wordpress.org/support/users/danieletampieri/)
 * (@danieletampieri)
 * [3 years ago](https://wordpress.org/support/topic/problem-with-inline-equations/)
 * Hi, I’ve incurred in a fairly strange problem. 
   I wrote a post using the standard
   delimiters ‘$’ and ‘$’ for inline formulas, i.e. I wrote things like $g(z)$: 
   and all inline formulas shown up correctly when seen in the post preview. Nevertheless
   things broke down when I published it: all inline formulas didn’t appear in the
   displayed text. Things worked again when I changed the delimiter(s) from ‘$’ 
   to ‘\(‘ and ‘\)’.Its seems really a configuration problem: all works perfectly
   in the preview but when the post is published another configuration seem to override
   the standard one, causing MathJax not acknowledging ‘$’ as a command but only
   as typed character. How can I find out what’s going on?
 * Here are my configuration scripts
 *     ```wp-block-code
       MathJax = {
         tex: {
           inlineMath: [['$', '$'],['\\(','\\)']],
           processEscapes: true
         },
         options: {
           ignoreHtmlClass: 'tex2jax_ignore|editor-rich-text'
         },
         svg: {
           fontCache: 'global'
         }
       };
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-inline-equations%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [pkra](https://wordpress.org/support/users/pkra/)
 * (@pkra)
 * [3 years ago](https://wordpress.org/support/topic/problem-with-inline-equations/#post-16757103)
 * Hi Daniele,
 * Looking at the URL, it seems the configuration is not present it in the page 
   source. Additionally, the page source seems to break off within a script tag.
 * It looks like the site is using a plugin to move the script tags out of the header,
   so perhaps that’s the cause for both the invalid markup and the missing configuration
   script.
 * Try de-activating such plugins to see if it fixes the problem.
 * If you have a suggestion on improving the script injection, please file an issue
   over on [https://github.com/boolesrings/Simple-Mathjax-wordpress-plugin/](https://github.com/boolesrings/Simple-Mathjax-wordpress-plugin/).
 * Best regards,
 *  Plugin Author [pkra](https://wordpress.org/support/users/pkra/)
 * (@pkra)
 * [3 years ago](https://wordpress.org/support/topic/problem-with-inline-equations/#post-16757114)
 * PS I’ve filed [https://github.com/boolesrings/Simple-Mathjax-wordpress-plugin/issues/33](https://github.com/boolesrings/Simple-Mathjax-wordpress-plugin/issues/33)
   just in case.
 *  Thread Starter [Daniele Tampieri](https://wordpress.org/support/users/danieletampieri/)
 * (@danieletampieri)
 * [3 years ago](https://wordpress.org/support/topic/problem-with-inline-equations/#post-16758481)
 * [@pkra](https://wordpress.org/support/users/pkra/) thank you very much. I’ll 
   check what of the installed plugins causes the problem, and also thank you for
   filing the issue form. 😊

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with inline equations’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-mathjax.svg)
 * [Simple Mathjax](https://wordpress.org/plugins/simple-mathjax/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-mathjax/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-mathjax/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-mathjax/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-mathjax/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Daniele Tampieri](https://wordpress.org/support/users/danieletampieri/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/problem-with-inline-equations/#post-16758481)
 * Status: not resolved