ConTEXt an excursion - Pragma ADE
ConTEXt an excursion - Pragma ADE
ConTEXt an excursion - Pragma ADE
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Units<br />
contents<br />
9 Units<br />
index<br />
comm<strong>an</strong>ds<br />
To force yourself to use dimensions <strong>an</strong>d units consistently throughout the document you<br />
c<strong>an</strong> make your own list with units. These are specified in the set up area of your input<br />
file.<br />
definitions<br />
colofon<br />
In CONT E XT there is <strong>an</strong> external module available that contains almost all SI--units. When<br />
this module is loaded with \usemodule[units] you c<strong>an</strong> call units with:<br />
\Meter \Per \Square \Meter<br />
\Cubic \Meter \Per \Sec<br />
\Square \Milli \Meter \Per \Inch<br />
\Centi \Liter \Per \Sec<br />
\Meter \Inverse \Sec<br />
\Newton \Per \Square \Inch<br />
\Newton \Times \Meter \Per \Square \Sec<br />
It looks like a lot of typing but it does guar<strong>an</strong>tee a consistent use of units. The comm<strong>an</strong>d<br />
\unit also prevents the separation of value <strong>an</strong>d unit at line breaks, because a number<br />
typeset at the end of a line <strong>an</strong>d the unit at the beginning of the next one, is far from<br />
perfect. These examples come out as:<br />
m/m 2<br />
m 3 /s<br />
mm 2 /inch<br />
cl/s<br />
ms −1<br />
N/inch 2<br />
N ·m/s 2<br />
exit<br />
search +<br />
go back<br />
– +<br />
9 24