29.05.2014 Views

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IV<br />

An example: CalcMath<br />

introduction<br />

For a long time TEX's way <strong>of</strong> coding math has dominated the typesetting world. However,<br />

this kind <strong>of</strong> coding is not that well suited for non academics, like schoolkids. Often<br />

kids do know how to key in math because they use advanced calculators. So, when a<br />

couple <strong>of</strong> years ago we were implementing a workow where kids could ll in their math<br />

workbooks (with exercises) on--line, it made sense to support so called Texas Instruments<br />

math input. Because we had to parse the form data anyway, we could use a [[ and ]] as<br />

math delimiters instead <strong>of</strong> $. <strong>The</strong> conversion too place right after the form was received<br />

by the web server.<br />

sin(x) + x^2 + x^(1+x) + 1/x^2 sin(x) + x 2 + x 1+x + 1 x 2<br />

mean(x+mean(y))<br />

x + y<br />

∫<br />

int(a,b,c)<br />

a<br />

b c<br />

(1+x)/(1+x) + (1+x)/(1+(1+x)/(1+x)) 1+x<br />

1+x + 1+x<br />

1+ 1+x<br />

1+x<br />

10E-2 10 × 10 −2<br />

(1+x)/x<br />

1+x<br />

x<br />

(1+x)/12<br />

1+x<br />

12<br />

(1+x)/-12<br />

1+x<br />

−12<br />

1/-12<br />

1<br />

−12<br />

12x/(1+x)<br />

exp(x+exp(x+1))<br />

abs(x+abs(x+1)) + pi + inf<br />

Dx Dy<br />

D(x+D(y))<br />

Df(x)<br />

g(x)<br />

sqrt(sin^2(x)+cos^2(x))<br />

12x<br />

1+x<br />

e x+ex+1<br />

|x + |x + 1|| + π + inf<br />

dx dy<br />

dx dx<br />

d<br />

dx<br />

(x + d dx (y))<br />

f ′ (x)<br />

g(x)<br />

√<br />

sin 2 (x) + cos 2 (x)<br />

An example: CalcMath 23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!