Changeset 402011
- Timestamp:
- 06/28/2011 08:13:43 AM (15 years ago)
- File:
-
- 1 edited
-
latex/trunk/latex.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
latex/trunk/latex.php
r365353 r402011 4 4 Plugin URI: http://wordpress.org/extend/plugins/latex/ 5 5 Description: Using MathJax and LaTex image service, this plugin provides a general solution to add and display your mathematical fourmula, no matter the visitors are visiting your blog or read from Google Reader. 6 Version: 3. 046 Version: 3.1 7 7 Author: zhiqiang 8 8 Author URI: http://zhiqiang.org … … 157 157 158 158 // returning the image-tag, referring to the image in your cache folder 159 if($imgtext) return "<p style='text-align:center;'><span class='MathJax_Preview'><img src='$cache_formula_url' style='".get_option('latex_imgcss')."' class='tex' alt=\"".($formula_text)."\" /></span>".(get_option("mathjax_server") != ""?"<script type='math/tex ' mode='display'>".($formula_text)."</script>":"")."</p>";159 if($imgtext) return "<p style='text-align:center;'><span class='MathJax_Preview'><img src='$cache_formula_url' style='".get_option('latex_imgcss')."' class='tex' alt=\"".($formula_text)."\" /></span>".(get_option("mathjax_server") != ""?"<script type='math/tex; mode=display'>".($formula_text)."</script>":"")."</p>"; 160 160 else return "<span class='MathJax_Preview'><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>":""); 161 161 }
Note: See TracChangeset
for help on using the changeset viewer.