[Therion] How to add 1.5 x linefeed to a text string

Bruce Mutton bruce at tomo.co.nz
Fri Aug 4 00:26:32 CEST 2023


Thanks Tarquin
I am able in my bumbling way to work with metapost and tex, but my use case
here does not warrant that and feels better suited to using standard
features.  I'll leave this one for now.

Possibly there is a case for a <1.5br> control to compliment the existing
<br> <left> <right> <thsp> etc in some future update.

Bruce


-----Original Message-----
From: Therion <therion-bounces at speleo.sk> On Behalf Of Tarquin Wilton-Jones
via Therion
Sent: Friday, 4 August 2023 09:21
To: therion at speleo.sk
Cc: Tarquin Wilton-Jones <tarquin.wilton-jones at ntlworld.com>
Subject: Re: [Therion] How to add 1.5 x linefeed to a text string

> Could not make that work.  No errors, Therion just echos what is typed 
> in the text string.

I only ever used it directly in the metapost (it's in my code for creating
custom labels). In the .th, Therion turns everything into
\char103 escape sequences. In the metapost, you have more control.

I don't know of a way to inject tex control characters directly from a .th
but I have no doubt someone else on this mailing list will know a lot more
than me.

You could create custom labels with your own string replacement to add your
own control character, like <lb> instead of <br>, but that only works for
symbols. Not sure how to do that for strings in the cave info.
_______________________________________________
Therion mailing list
Therion at speleo.sk
https://mailman.speleo.sk/listinfo/therion



More information about the Therion mailing list