29.05.2014 Views

ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - 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.

Formulae<br />

\placeformula[formula:aformula]<br />

\startformula<br />

y=xˆ2<br />

\stopformula<br />

\placeformula<br />

\startformula<br />

\int_0ˆ1 xˆ2 dx<br />

\stopformula<br />

y = x 2 (7.1)<br />

contents<br />

index<br />

comm<strong>an</strong>ds<br />

definitions<br />

colofon<br />

∫ 1<br />

0<br />

x 2 dx (7.2)<br />

Between \startformula <strong>an</strong>d \stopformula you are in math mode so you c<strong>an</strong> define<br />

<strong>an</strong>y formula you w<strong>an</strong>t by using T E X comm<strong>an</strong>ds. We advise you to do some further reading<br />

on typesetting formulae in T E X. See for example:<br />

• The T E XBook by D.E. Knuth<br />

• The Beginners Book of T E X by S. Levy <strong>an</strong>d R. Seroul<br />

Math mode c<strong>an</strong> occur in two modes: in text mode <strong>an</strong>d display mode. Mathematic expressions<br />

in text mode are placed between $ <strong>an</strong>d $.<br />

The Hasselt community covers <strong>an</strong> area of 42,05 \Square \Kilo \Meter.<br />

Now if you consider a circular area of this size with the market<br />

place of Hasselt as the center point $M$ you c<strong>an</strong> calculate its<br />

diameter with ${{1}\over{4}} \pi rˆ2$.<br />

This will become:<br />

The Hasselt community covers <strong>an</strong> area of 42,05 km 2 . Now if you consider a circular area<br />

of this size with the market place of Hasselt as the center point M you c<strong>an</strong> calculate its<br />

diameter with 1 4 πr 2 .<br />

The m<strong>an</strong>y {} in 1 4 πr 2 are essential for separating operations in the expression. If you<br />

omit the outer curly braces like this: ${1}\over{4} \pi rˆ2$, you would get a non<br />

desired result:<br />

1<br />

4πr 2 .<br />

exit<br />

search +<br />

go back<br />

– +<br />

7 20

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

Saved successfully!

Ooh no, something went wrong!