Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

WP-Math-2

Description

WP-Math-2 can help you insert math formula into WordPress posts or comments. You can use $$...$$(block, only one math expression per line) and $...$(inline, around the text) to insert math. This plugin will render them to HTML or MathML code snippets(Depends on your browser. If your browser supports MathML, it will use MathML, otherwise, use HTML and CSS instead). This work is done by javascript. So your browser must enable JavaScript.

But in most of RSS readers, any JavaScript snippets cannot execute. So I made a trick. WP-Math-2 will convert LaTeX text to images. So users can see math contents with their favorite RSS reader software.

Installation

  1. Upload wp-math-2.tar.gz to the wp-content/plugins directory
  2. Active the plugin in WordPress ‘Plugins’ menu

Also, you may want to change the height of inline math formula. Open wp-math-2.php and find

define('MATH_IMG_INLINE_HEIGHT', '20');

The default height is ’20’ pixels. You can change it into a proper value.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« WP-Math-2 » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « WP-Math-2 » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.