<font face="trebuchet ms">Dear Therion-Community<br> <br>I try to change some symbols on my layout. This works with most symbols. With two symbols I can not go any further.<br> <br>1. With the symbol "Absatz Lehm" I can not transfer the color to the whole symbol. The symbol is similar to the line floorstep (Fig .: Legend_Linecolor). The base line takes the color brown, with the right-angled lines I have no idea that works:</font><div><font face="trebuchet ms"><br>code metapost<br> def l_u_absatz_lehm (expr P) = <br>  T:=identity;<br>  cas := 0;<br>  dlzka := arclength P;<br>  mojkrok:=adjust_step(dlzka, .5u); % Schraffurabstand eingeben<br>  pickup PenD;<br>  draw p withcolor (0.75,0.2,0.12);  % not works!!!<br>  forever:<br>   t := arctime cas of P;<br>   mark_ (P,t,0.9u);<br>   cas := cas + mojkrok;<br>  exitif cas > dlzka + (mojkrok /3); % for rounding errors<br>  endfor;<br>  pickup PenC;  <br>  thdraw P withcolor (0.75,0.2,0.12); % works<br> enddef;<br> <br>initsymbol("l_u_absatz_lehm")<br> <br>def l_u_absatz_lehm_legend =<br> l_u_absatz_lehm(((-.3,0.5) .. (.3,.3) .. (.7,.7) .. (1.3,.5)) inscale)<br> enddef;<br>endcode<br> <br>text de "line u:absatz_lehm" "Absatz Lehm"<br> <br> <br>2. The second symbol â€śphreatische Fliessrichtung” is only one line. However, I would like to place the symbol with the outline in the legend box. Compare with the figure Legend_Color_Pen. The outside lines should be gray and slightly thicker than the line in the middle.<br> <br>code metapost<br> def l_u_phreatisch (expr P) = <br>  T:=identity;<br>  pickup PenC;<br>  thdraw P;<br>enddef;<br> <br> initsymbol("l_u_phreatisch")<br> <br> def l_u_phreatisch_legend =<br>  l_u_phreatisch(((.25,.5){dir 300} .. (.65,.5)) inscale);<br>  l_u_phreatisch(((.4,1.0) .. (.2,.5){dir 270} .. (.1,0.0)) inscale) % must be grey (0.86, 0.86, 0.86) and PenA<br>  l_u_phreatisch(((.8,1.0) .. (.7,.5){dir 270} .. (.6,0.0)) inscale) % must be grey (0.86, 0.86, 0.86) and PenA<br> enddef;<br>endcode<br> <br>text de "line u:phreatisch" "phreatische Fliessrichtung"<br><br></font></div><div><font face="trebuchet ms"><br></font></div><div><font face="trebuchet ms">Does anyone know a solution?</font></div><div><font face="trebuchet ms"><br>Thank you and best regards<br>Thomas</font></div>