Rev 5921 | Rev 11292 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5921 | Rev 11210 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !! +exec+ +var+ +string+ |
1 | !! +exec+ +var+ +string+ |
- | 2 | tit:rawmath |
|
2 |
|
3 | type:$type_both |
3 |
|
4 | syntax:!rawmath `expr' |
4 |
|
5 | mean:Translate the mathematical expression `expr', possibly with common user errors, \ |
5 | possibly with common user errors, into a machine-understandable |
- | |
6 | mathematical expression. <br/> |
6 | into a machine-understandable mathematical expression. <br/>\ |
7 | It will replace |
7 | It will replace `(x+1)(x-1)' into `(x+1)*(x-1)', `5x^3' into `5*x^3', etc.\ |
8 | $emph 5x^3$emphend into $emph 5*x^3$emphend, etc. |
- | |
9 | More precisely, |
8 | More precisely,\ |
10 | <ul><li> |
9 | <ul><li>\ |
11 | Replace some badcharacters as **, ², ³. |
10 | Replace some badcharacters as **, ², ³.\ |
12 | </li><li>translate ++, +-, -+, ... into one |
11 | </li><li>translate ++, +-, -+, ... into one sign\ |
13 | </li><li> |
12 | </li><li>\ |
14 | translate | | in abs |
13 | translate | | in abs\ |
15 | </li><li> |
14 | </li><li>\ |
16 | replace new lines or tabs by |
15 | replace new lines or tabs by spaces\ |
17 | </li><li> |
16 | </li><li>\ |
18 | add zero in case of decimal digits if necessary |
17 | add zero in case of decimal digits if necessary: for example, replace 4. by 4.0 and .5 -> 0.5\ |
19 | </li><li> |
18 | </li><li>\ |
20 | replace justapositions by multiplications if rawmatheasy= |
19 | replace justapositions by multiplications if rawmatheasy=yes\ |
21 | </ul> |
20 | </li></ul> |
22 | - | ||
23 | - | ||
24 | - |