[Therion] Color water
Ladislav Blažek
lada at blazcata.cz
Wed Sep 30 11:32:39 CEST 2009
The main difference between this two version is that I am not redefining
"system" symbol. Instead I am creating symbol in MY symbol set. In my
opinion it is the "cleaner" way. L.
On Tue, 29 Sep 2009 08:46:38 +0200, Thomas Holder <thomas at thomas-holder.de>
wrote:
> Hi,
>
> the code from wiki works for me (without initsymbol/symbol-assign, just
> def a_water).
>
> Thomas
>
> Boldt, Markus wrote, On 09/29/09 08:07:
>> Many thanks to Ladislav and Andrew!
>> I have used now the version from Ladislav. And it works. It should be
>> fine, if someone writes it in the wiki instead of the version, which is
>> written.
>> 73
>> Markus
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: therion-bounces at speleo.sk [mailto:therion-bounces at speleo.sk] Im
> Auftrag von Ladislav Blažek
>> Gesendet: Montag, 28. September 2009 18:41
>> An: List for Therion users
>> Betreff: Re: [Therion] Color water
>>
>> Hi Markus,
>> I think this is the correct way how to redefine symbol:
>>
>> layout my_layout
>> ...
>> code metapost
>> def a_water_MY (expr p) =
>> T:=identity;
>> thfill p withcolor (0,0,1);
>> enddef;
>> initsymbol("a_water_MY");
>> endcode
>>
>> symbol-assign area water MY
>> ...
>> endlayout
>>
>>
>> On Mon, 28 Sep 2009 17:16:57 +0200, "Boldt, Markus"
>> <markus.boldt at ratiopharm.de> wrote:
>>> Hi,
>>> I have tried to color "my" water blue. So I have copied the code from
>>> the wiki in my layout.
>>> code metapost
>>> def a_water (expr p) =
>>> T:=identity;
>>> thfill p withcolor (0.1, 0.2, 0.8);
>>> enddef;
>>> endcode
>>>
>>> But it doesn`t work?
>>> What could be the reason?
>>>
>>> 73
>>> Markus
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
More information about the Therion
mailing list