Skip to content
This repository has been archived by the owner on Nov 22, 2019. It is now read-only.

Added MathJax javascript lib to layout. #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

siad007
Copy link
Contributor

@siad007 siad007 commented Dec 29, 2013

That would give us the ability to have MathML inside descriptions like:


    /**
     * Standard constructor.
     *
     * <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
     *   <mi>P</mi>
     *   <mo stretchy="false">(</mo>
     *   <mi>E</mi>
     *   <mo stretchy="false">)</mo>
     *   <mo>=</mo>
     *   <mrow class="MJX-TeXAtom-ORD">
     *     <mrow>
     *       <mo>(</mo>
     *       <mfrac linethickness="0">
     *         <mi>n</mi>
     *         <mi>k</mi>
     *       </mfrac>
     *       <mo>)</mo>
     *     </mrow>
     *   </mrow>
     *   <msup>
     *     <mi>p</mi>
     *     <mi>k</mi>
     *   </msup>
     *   <mo stretchy="false">(</mo>
     *   <mn>1</mn>
     *   <mo>&#x2212;<!-- − --></mo>
     *   <mi>p</mi>
     *   <msup>
     *     <mo stretchy="false">)</mo>
     *     <mrow class="MJX-TeXAtom-ORD">
     *       <mi>n</mi>
     *       <mo>&#x2212;<!-- − --></mo>
     *       <mi>k</mi>
     *     </mrow>
     *   </msup>
     * </math>
     *
     * @param string $name
     * @param int    $targets
     * @param string $configName
     */
    public function __construct($name, $targets, $configName)
    {
        // ...
    }

That would give us the ability to have MathML inside descriptions.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant