[Therion] Label and passage height colours
Tarquin Wilton-Jones
tarquin.wilton-jones at ntlworld.com
Mon Aug 1 23:19:27 CEST 2022
On 01/08/2022 22:07, Paul Rowe wrote:
> Ok, I'll have a go at the metapost route.
MetaPost for label type things is really inconvenient to work with, so
you might want to use my code to create stylable text labels for a
custom point. It just hooks into the existing label code, so it can
create any type of text label point that Therion can already create
(including the passage height symbols). You could use it to create - for
example:
point u -subtype speciallabel -attr text 23
Then you can style that whatever colour you want.
https://therion.speleo.sk/wiki/metapost#adding_custom_styled_labels_at_any_point_linepoint
And some code that uses it for a custom point type:
https://therion.speleo.sk/wiki/metapost#rope_lengths
More information about the Therion
mailing list