ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - Pragma ADE ConTEXt an excursion - Pragma ADE

pragma.ade.nl
from pragma.ade.nl More from this publisher
29.05.2014 Views

Refering to text elements If you want to refer to the chapter Hotels in Hasselt you could type: Look in \in{chapter}[hotel] on \at{page}[hotel] for a complete overview of accomodation in \pagereference[accomodation]Hasselt. A chapter number and a page number will be generated when processing the input file. On another spot in the document you can refer to accomodation with \at{page}[accomodation]. You can also define a set of labels separated by commas. \placefigure [here] [fig:canals,fig:boats] {A characteristic picture of Hasselt.} {\externalfigure[hass08g][width=5cm]} contents index commands definitions colofon There are many canals in Hasselt (see \in{figure}[fig:canals]). . . . Boats can be moored in the canals of Hasselt (see \in{figure}[fig:boats]). This might look like this: exit search + Figure 25.1 of Hasselt. A characteristic picture go back – + 25 76

Color There are many canals in Hasselt (see figure 25.1). . . . Boats can be moored in the canals of Hasselt (see figure 25.1). contents index commands 26 Color definitions colofon Text can be set in color. \setupcolors[..,..=..,..] The use of colors has to be activated by: \setupcolor[state=start] Now the basic colors are available (red, green and blue). \startcolor[red] Hasselt is a very \color[green]{colorful} town. \stopcolor Hasselt is a very colorful town. On a black and white printer you will see only grey shades. In an electronic document these colors will be as expected. You can define your own colors with: \definecolor[...][..,..=..,..] exit search + go back – + 26 77

Color<br />

There are m<strong>an</strong>y c<strong>an</strong>als in Hasselt (see figure 25.1). . . . Boats c<strong>an</strong> be moored in the c<strong>an</strong>als<br />

of Hasselt (see figure 25.1).<br />

contents<br />

index<br />

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

26 Color<br />

definitions<br />

colofon<br />

Text c<strong>an</strong> be set in color.<br />

\setupcolors[..,..=..,..]<br />

The use of colors has to be activated by:<br />

\setupcolor[state=start]<br />

Now the basic colors are available (red, green <strong>an</strong>d blue).<br />

\startcolor[red]<br />

Hasselt is a very \color[green]{colorful} town.<br />

\stopcolor<br />

Hasselt is a very colorful town.<br />

On a black <strong>an</strong>d white printer you will see only grey shades. In <strong>an</strong> electronic document<br />

these colors will be as expected.<br />

You c<strong>an</strong> define your own colors with:<br />

\definecolor[...][..,..=..,..]<br />

exit<br />

search +<br />

go back<br />

– +<br />

26 77

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

Saved successfully!

Ooh no, something went wrong!