| Home | Tutorials | About me | Links | Etc |
If sin(x)= 0.45 then reduce \epsilon by 6^5.It is quite obvious as it is which parts should be typeset in math-mode but still LaTeX insists that you type
If $\sin(x)= 0.45$ then reduce $\epsilon$ by $6^5.$which is pretty annoying to type. Also, forgetting to match $'s properly is the root of many headaches while using LaTeX. This program tries to eliminate this trouble. You first type your document without the dollars (and without the backslashes for standard functions like sin, cos etc) then run the mathifier on the file. The mathifier will detect the parts that should be typeset in math-mode and put approapriate $'s around them. It has a built-in list of commonly used math-mode symbols, like \forall, \alpha etc. It considers any stand-alone letter (except `a') to be a math symbol. Also if you add your own math symbols just remember to precedde the first occurence of the symbol with `mmm' to tell mathifier to treat all occurences of that symbol as math text. Thus
If mmm\cov(x,y)= 45 then \cov(y,z) cannot be 10.will be translated into
If $cov(x,y)= 45$ then $\cov(y,z)$ cannot be 10.Note that the number 10 standing by itself is not put in math-mode.
$ yacc swf.y $ flex swf.lex $ cc -o makeFlash y.tab.c
$ ./makeFlash < sample.spec > AutoSWF.java $ javac AutoSWF.java $ java AutoSWF > test.swf
| Previous | |
Next |