AMmathjax

Summary: Add markup to embed math using ASCII MATH by MathJax.
Version: 20170807
Prerequisites:
Status: Stable
Maintainer: MassimilianoVessi
Categories: Markup Math PHP72
Discussion: AMmathjax-Talk

What it does?

This recipe permits use to use the fantastic and easy notation of ASCII Math (see http://asciimath.org ) for writing math formulas in your pmwiki!

It uses automatically always the last version of MathJax!

Description

Embed math in wiki pages easily using ASCII MATH.

Installation

  1. Download AMmathjax7.phpΔ into the cookbook/ directory.
  2. Add the following line to a local customization file:
    include_once("$FarmD/cookbook/AMmathjax.php");
    

Usage

Enclose your math between {$ and $} symbols, example:

 {$ x_(1,2)=(-b+-sqrt(b^2 - 4a c))/(2a) $}

In edit mode a button should appear to automatically add {$ $} symbols

See also

Cookbook /
ASCIIMath  Display MathML rendered ascii formula into PmWiki 2.x pages (Stable)
Formula  Lightweight rendering of mathematical formulas in wiki pages (Beta)
JsMath  Add markup to display and embed mathematical formulas in wiki pages using TeX. (Obsolete - use MathJax)
LaTeXMathJax  MathJax support for PmWiki (stable)
LaTeXMathML  Translating LaTeX math notation dynamically to Presentation MathML (Stable)
LinuxTex  Enable TeX markup
LuaExecute  Lets Lua scripts dynamically generate parts of your wiki page (Beta)
MathJax  Add markup to embed math using TeX syntax. (Stable)
Mathtex  Add markup to display and embed several lines of mathematical formulas in wiki pages (testing)
MimeTeX  Add markup to display and embed mathematical formulas in wiki pages (Stable)
SageCell  This allows you to embed an interactive SageCell into your webpage. Sage is an open source alternative to MathLab, Mathematica, and Maple. (Stable)
SimpleJsMath  Notes on modifying the jsMath for a skin (not a complete recipe)
TrueLatex  Enables interpretation and rendering of real LaTeX markups in PmWiki. Support for XeLaTex included in v1.8. (Working perfectly. Very simple to use, customizable and comes with lots of options.)

Comments

See discussion at AMmathjax-Talk

FAQ

May I improve code?

YES, you can!

Is PHP 5.5 supported?

Yes, it is.

User notes +1: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.