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.
Miscell<strong>an</strong>eous<br />
The parenthesis enclose the x, y coordinates, the curly braces enclose the text you w<strong>an</strong>t<br />
to position.<br />
You c<strong>an</strong> set up the x, y axes with:<br />
\setuppositioning[..,..=..,..]<br />
You c<strong>an</strong> use units <strong>an</strong>d scaling factors. An example will illustrate \position.<br />
\def\dicefive%<br />
{\framed<br />
[width=42pt,height=42pt,offset=0pt]<br />
{\setuppositioning<br />
[unit=pt,factor=12,xoffset=-11pt,yoffset=-8pt]%<br />
\startpositioning<br />
\position(1,1){$\bullet$}%<br />
\position(1,3){$\bullet$}%<br />
\position(2,2){$\bullet$}%<br />
\position(3,1){$\bullet$}%<br />
\position(3,3){$\bullet$}%<br />
\stoppositioning}}<br />
contents<br />
index<br />
comm<strong>an</strong>ds<br />
definitions<br />
colofon<br />
\placefigure{This is five.}{\dicefive}<br />
This is a rather complex example but it would look something like this.<br />
• •<br />
•<br />
• •<br />
exit<br />
search +<br />
Figure 37.1<br />
This is five.<br />
go back<br />
– +<br />
37 116