B.14 Pictures and Colors
B.14.1 The picture environment and the graphics
Package
At the moment (version 1.03), HEVEA knows nothing about
the picture environment and the graphics package.
However, it is possible to have pictures and graphics processed by
imagen
and to include links to resulting gif images (see
section 6).
For instance consider the following picture:
\newcounter{cms}
\setlength{\unitlength}{1mm}
\begin{picture}(50,10)
\put(0,7){\makebox(0,0)[b]{cm}}
\multiput(10,7)(10,0){5}{\addtocounter{cms}{1}\makebox(0,0)[b]{\arabic{cms}}}
\multiput(1,0)(1,0){49}{\line(0,1){2.5}}
\multiput(5,0)(10,0){5}{\line(0,1){5}}
\thicklines
\put(0,0){\line(1,0){50}}
\multiput(0,0)(10,0){6}{\line(0,1){5}}
\end{picture}
Users should enclose all picture elements in a toimage
environment and insert an \imageflush
command, where they want
the image to appear in HTML output:
%BEGIN IMAGE
\newcounter{cms}
\setlength{\unitlength}{1mm}
\begin{picture}(50,10)
...
\end{picture}
%END IMAGE
%HEVEA\imageflush
This will result in normal processing by LATEX and image inclusion
by HEVEA:

B.14.2 The color Package
HEVEA partly implements the color package.
Implemented commands are \definecolor
, \color
and
\textcolor
. Other commands from the color package do
not exist.
At startup,
colors black, white,
red, green, blue,
cyan, yellow and magenta are
pre-defined.