[metapost] A couple of basic questions
Jens-Uwe Morawski
s5d5 at gmx.net
Tue Feb 14 12:40:12 CET 2006
Am Freitag, den 10.02.2006, 15:56 +1030 schrieb Will Robertson:
> Secondly: I'm not too sure what advantages latexmp has over just using
> verbatimtex
> %&latex
> \documentclass{article}
> % ...
> \begin{document}
> etex
input latexmp ;
verbatimtex
%&latex
\documentclass{article}
\begin{document}
etex
setupLaTeXMP(textextlabel=true, multicolor=true) ;
color Lcolor ; Lcolor := (0,0.7,0.6) ;
beginfig(1);
for n=1 upto 5:
label.ulft(btex label \textbf{n} etex, (0,5mm*n)) ;
label.urt("label \textbf{" & decimal(n) & "}", (0,5mm*n)) ;
endfor;
label.bot("\parbox{2.8cm}{" &
"Try \textcolor{red}{macros} {\color[rgb]{0.8,0,0.7} " &
"from the {\LaTeX} \textcolor{blue}{color} package} " &
"without \textcolor{Lcolor}{latexMP}}", origin) ;
endfig;
end
> Is latexmp a "recommended" package?
i would recommend it :)
j.
More information about the metapost
mailing list