[metapost] a problem of label when using metapost

source liu sourceonly at gmail.com
Thu Nov 24 04:17:05 CET 2011


Thanks, it suppose to be work right in a single label, but now i only
have time to reply.

what if split it in to different labels.  consider a case like that,

+============+
||   Step .*num*     ||
+============+
            |||
            |||
            |||
           \  /
+============+
||   Step .*num*     ||
+============+

a typical flowchart, the bottom one would like to increase the num by 1,

but obviously one need to type it in different "label"s



That's what the exactly i want.

I hope the drawing of plain text is to be understood.






2011/11/23 Pétiard François <petiard.francois at free.fr>:
> I don't know if that's you want, but that code is working:
>
> François
>
> verbatimtex
> %&latex
> \documentclass[12pt]{article}
> \usepackage{lmodern}
> \usepackage[T1]{fontenc}
> \usepackage{amsmath}
> \begin{document}
> etex;
> prologues:=3;
> outputtemplate:="%j.mps";
> beginfig(1);
> label(btex \begin{minipage}{200pt}\begin{enumerate}
> \item bla
> \item bli
> \item blo
> \end{enumerate}\end{minipage} etex,(0,0));
> endfig;
> end;
>
> --
> http://tug.org/metapost/
>



-- 
Liu An
Institution of modern physics, Shanghai, China



More information about the metapost mailing list