What is implemented from MathML?
What is implemented from LaTeX?
MathML compatibility test suites
How to display equations in your site?
How to display graphs in your site?
Plugins for Html Online Editors
Components for your Flex applications
Components for your Flash applications
| Install the component in Flex Builder |
- Download the Formula component from download area (swc file and fonts)' - Unzip the package - Copy the swc file in your project/libs - Now you can see the component in Flex Builder - Design Mode ![]() - Copy the folder fontswf in project/bin-debug - Now you can test the component |
| How to use MathML Formula component |
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:fmath="http://www.fmath.info" layout="vertical" borderColor="#E4E4E4" backgroundColor="#FFFFFF"> <mx:Script> <![CDATA[ protected function getMathML(event:MouseEvent):void { textareaId.text = new XML(mathmlFormulaID.mathML).toXMLString(); } protected function setMathML(event:MouseEvent):void { mathmlFormulaID.mathML = textareaId.text; } ]]> </mx:Script> <mx:VBox height="100%" width="100%" horizontalAlign="center" backgroundColor="#eeeeee" borderColor="#000000" borderStyle="solid"> <fmath:MathMLFormula id="mathmlFormulaID" mathsize="35" mathvariant="sans-serif" mathcolor="#850E0E" > <fmath:mathML><![CDATA[<mrow><mrow><msup><mn>2</mn><mrow><msup><mi>x</mi><mn>2</mn> </msup><mo>+</mo><mrow><mn>4</mn><mi>x</mi></mrow><mo>+</mo> <mn>4</mn></mrow></msup><mo>+</mo><mrow><mn>4</mn><mi>x</mi></mrow><mo>+</mo> <mn>45</mn></mrow><mo>=</mo><mn>0</mn></mrow>]]></fmath:mathML> </fmath:MathMLFormula> <mx:HBox> <mx:Button click="getMathML(event)" label="get MathML from component"/> <mx:Button click="setMathML(event)" label="set MathML to component"/> </mx:HBox> <mx:TextArea width="434" height="290" editable="true" id="textareaId" borderColor="#7AD2E2"/> </mx:VBox> </mx:Application> |
| Settings |
<fmath:MathMLFormula mathsize="35" mathvariant="sans-serif" mathcolor="#850E0E" > <fmath:mathML> <![CDATA[<mrow><mrow><msup><mn>2</mn><mrow><msup><mi>x</mi> <mn>2</mn></msup><mo>+</mo><mrow><mn>4</mn><mi>x</mi> </mrow><mo>+</mo><mn>4</mn></mrow></msup><mo>+</mo> <mrow><mn>4</mn><mi>x</mi></mrow><mo>+</mo><mn>45</mn> </mrow><mo>=</mo><mn>0</mn></mrow>]]> </fmath:mathML> </fmath:MathMLFormula> mathsize - The font size used for formula, default is 24 mathvariant - The font family used for formula, default is normal mathcolor - The font color used for formula, default is #000000 mathML - The mathml for formula ![]() |
| Deployment |
- DO NOT FORGET to copy also the folder fontswf with the distribution - The folder fontswf MUST be in the same folder with your application |
| free components MathML flex GWT LaTeX Web Editor free plugin MathML flash math Mathematics Equation Widget MathML flash LaTeX Mathematics FREE Editor Java |