Title: Fifis's Replies | WordPress.org

---

# Fifis

  [  ](https://wordpress.org/support/users/fifis/)

 *   [Profile](https://wordpress.org/support/users/fifis/)
 *   [Topics Started](https://wordpress.org/support/users/fifis/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fifis/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fifis/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fifis/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fifis/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fifis/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LaTeX for WordPress] Unnecessary space around formulae](https://wordpress.org/support/topic/unnecessary-space-around-formulae/)
 *  Thread Starter [Fifis](https://wordpress.org/support/users/fifis/)
 * (@fifis)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/unnecessary-space-around-formulae/#post-3471099)
 * Solved! I figured it out!
 * At line 129 (ver. 3.4.6) or so you will see the following:
 * `else return " <span class='MathJax_Preview'>".(get_option('latex_img_server')
   ==""?"\(".($formula_text)."\)":"<img src='$cache_formula_url' style='".get_option('
   latex_imgcss')." $padding' class='tex' alt=\"".($formula_text)."\" />")."</span
   >".(get_option("mathjax_server") != ""?"<script type='math/tex'>".($formula_text)."
   </script> ":" ");`
 * Eliminate the spaces before the opening “_span class_” and after the closing “_/
   script_”, like this:
    `else return "<span class='MathJax_Preview'>".(get_option('
   latex_img_server')==""?"\(".($formula_text)."\)":"<img src='$cache_formula_url'
   style='".get_option('latex_imgcss')." $padding' class='tex' alt=\"".($formula_text)."\"/
   >")."</span>".(get_option("mathjax_server") != ""?"<script type='math/tex'>".(
   $formula_text)."</script>":"");`
 * The result is just as desired. I am currently maintatining a blog at [http://kostyrka.ru/blog](http://kostyrka.ru/blog),
   and there are lots of formulæ in some posts, as you can see, and now they are
   perfectly and tenderly touched by commas and brackets.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MathJax-LaTeX] [Plugin: MathJax-LaTeX] Page not found error when trying to activate plugin](https://wordpress.org/support/topic/plugin-mathjax-latex-page-not-found-error-when-trying-to-activate-plugin/)
 *  [Fifis](https://wordpress.org/support/users/fifis/)
 * (@fifis)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-mathjax-latex-page-not-found-error-when-trying-to-activate-plugin/#post-2919520)
 * The same for me! After several reinstallations, I installed it manually and… 
   The first time it opened a configuration window. I checked the «Override WP LaTeX»
   box (or sort of), after which the plugin displayed a message that I am using 
   an obsolete version of MathJax (1.0.1) and I should configure the plugin. When
   I entered the config page again, it stopped displaying right after the first 
   checkbox description THe rest of the config page did not load (neither did the«
   Save changes» button) (WP 3.4.1, too!).
 * Using header.php and configuring MathJax (to detect the [latex] opening syntax
   instead of \[ etc.) renders formulæ only if the post is opened in its own window.
   It does not render when several posts are displayed from the index page (which
   of cause may be caused by the InfiniteScroll plugin). I ask you to check if it
   is compatible with continuous page loading. I cannot check it due to the reason
   the plugin crashes the same way described by monsieur WebDrake.
 * Thank you for the further suggestions.

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