[Therion] Label and passage height colours
Paul Rowe
armchair.caver.nz at gmail.com
Mon Aug 1 23:07:30 CEST 2022
Ok, I'll have a go at the metapost route.
Get well soon!
Paul
On Tue, 2 Aug 2022 at 09:01, Bruce Mutton <bruce at tomo.co.nz> wrote:
> I’m sorry Paul, I’m still inside a Covid cloud it seems.
>
> -context works with symbol-show and symbol-hide but not with
> symbol-colour, so it is not a solution to your problem.
>
>
>
> Bruce
>
>
>
> *From:* Therion <therion-bounces at speleo.sk> *On Behalf Of *Paul Rowe
> *Sent:* Monday, 1 August 2022 18:41
> *To:* List for Therion users <therion at speleo.sk>
> *Subject:* Re: [Therion] Label and passage height colours
>
>
>
> Hi Bruce,
>
> Yes, I was wanting to change a specific instance. These are great tips.
>
>
>
> Using the colour of another point type that I'm not using, then changing
> the context for other specific points, would be a simple hack that I think
> would cover me.
>
>
>
> Cheers,
>
> Paul
>
>
>
> On Mon, 1 Aug 2022 at 18:12, Bruce Mutton <bruce at tomo.co.nz> wrote:
>
> Hi Paul
>
> If you are asking if it is possible to change the colour of a specific
> instance of a particular type of generic object, I think the answer is no,
> unless you modify the metapost definition for the generic object to allow
> attributes such as colours to be parsed.
>
> If you want all of a generic object type to be a colour, then use a layout
> statement something like:
>
> symbol-colour point label <colour>
>
>
>
> Easy hacks to mimic the first question include…
>
> Use point remark and set its colour to something striking with:
>
> symbol-colour point remark <colour>
>
> You can change the fonts to add or remove emphasis.
>
>
>
> Or use -context to make the label inherit colour as though it were another
> type of symbol…
>
> point label <x> <y> -text “label text” -context point
> anastomosis
>
> and
>
> symbol-colour point anastomosis <colour>
>
> I suspect not all point types work with -context, so you may have to hunt
> around to find one that works.
>
> Bruce
>
>
>
>
>
> *From:* Therion <therion-bounces at speleo.sk> *On Behalf Of *Paul Rowe
> *Sent:* Monday, 1 August 2022 15:30
> *To:* List for Therion users <therion at speleo.sk>
> *Subject:* [Therion] Label and passage height colours
>
>
>
> Is it possible to change the label and/or passage height colours for
> specific points? I couldn't see a way of doing this.
>
>
>
> Thanks,
>
> Paul Rowe
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20220802/ccb268b0/attachment.htm>
More information about the Therion
mailing list