Edit This Page

Mimetex module

Companytools created a mimetex plugin for the TinyMCE wysiwyg editor. This module adds the ability to add equations as an image to webpages, but still be able to edit them without any problem.

Equation in editor
Equation mode:
Edit equation

Download file:
mimetex.tar

Installation:
add this module to the tiny_mce/plugins/ folder. Then add mimetex to the plugins in the configuration of TinyMCE and add the button somewhere you want it. It my case next to the image button, so ....,mimetex,image,...

NOTE: This version only works from TinyMCE 3. Older versions are not supported.

NOTE2: For CMS Made Simple users: You can use this module, but you have to make some changes.
  1. Update to TinyMCY 3, replacing the tiny_mce folder of the most recent version works. Then add the mimetex plugin configuration parameter to the tinyconfig.php file and add the mimetex button in the admin area (Extensions/TinyMCE../Toolbars).
    Also create a .equation style entry in your stylesheet for optimal functionality. TinyMCE removes the class="equation" defenition if you don't.
Stylesheet addition:
.equation, .mimetex{
display:block;
margin-left:30px;
}
.equation_inline{
display:inline;
}
changes to the tinyconfig.php:
remove the line
verify_css_classes : "false",