This repository has been archived by the owner on Jul 25, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Change the implemention of prod and sum to make them behave better.
2. Simplify codes of latex compiler.
- Loading branch information
Showing
6 changed files
with
243 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package FMEUnits.FMEComposeds | ||
{ | ||
import flash.display.Sprite; | ||
|
||
public class FMEProd extends FMESumProd | ||
{ | ||
[Embed(source="svgs/prod.svg")] | ||
private var opcls:Class; | ||
private var op:Sprite = new opcls(); | ||
public function FMEProd(who:FMEContainer, upLatex:String, downLatex:String) | ||
{ | ||
super(who,upLatex,downLatex,op,"\\prod",3.3445,3.3445,0,0,3.3445,3.3445,50); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package FMEUnits.FMEComposeds | ||
{ | ||
import flash.display.Sprite; | ||
|
||
public class FMESum extends FMESumProd | ||
{ | ||
[Embed(source="svgs/sum.svg")] | ||
private var opcls:Class; | ||
private var op:Sprite = new opcls(); | ||
public function FMESum(who:FMEContainer, upLatex:String, downLatex:String) | ||
{ | ||
super(who,upLatex,downLatex,op,"\\sum",3.3445,3.3445,0,0,3.3445,3.3445,50); | ||
} | ||
} | ||
} |
Oops, something went wrong.