summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/3-2-5.mp
blob: 453ebf931bf9df1ebe30ed414211e756f00cf223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% --- start of displayed preamble in the book ---
input latexmp;
% --- end of displayed preamble in the book ---
% initlatex
% graphic converted to gray in book using 'color2gray'
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
beginfig(1);
setupLaTeXMP(textextlabel=enable,multicolor=enable);
color Qcolor; Qcolor:=(0.8,0.4,0.7);
color Lcolor; Lcolor:=(0.2,0.9,0.2);
  label(
    "\parbox{5cm}{\color{blue}The \textcolor{Qcolor}{quick}"
    & " \textcolor[rgb]{0.6,0.4,0}{brown fox}"
    & " jumps over \textcolor[Hsv]{30,0.5,0.9}{the"
    & " \textcolor{Lcolor}{lazy} dog}.}",(200,100));
endfig;
endfig;
end;