Would be great thx.
I was already looking at a solution with the .sy macro to invoke an awk
oneliner. But I d rather do it all in groff.
Kind regards,
Wim Stockman
Op wo 23 jun. 2021 22:26 schreef Denis M. Wilson :
> I have macros corresponding to Cs strchr and strrchr functions.
> Do you want m
I have macros corresponding to Cs strchr and strrchr functions.
Do you want me to pass them on?
Denis
On Wed, 23 Jun 2021 21:48:48 +0200
Wim Stockman wrote:
> Is there a function in groff to find the position of a char in a
> string. So I can split a string into more than one.
> I found the sub
Wim Stockman wrote in
:
|Is there a function in groff to find the position of a char in a string.
|So I can split a string into more than one.
|I found the substring function that can cut based on length. If I could my
|marker in the string I could cut it there.
Loop over the string and use s
That is indeed what I used as a substitute. But it's not typographically
very nice for setting out geometrical proofs (which is what I'm doing),
where the three sides of the triangle should be of equal weight.
On Wed, Jun 23, 2021 at 4:12 PM Oliver Corff wrote:
> Hi Robert,
>
> is Delta \[*D] a
Hi Robert,
is Delta \[*D] a feasible substitute for your case?
Oliver.
On 23/06/2021 22:06, Robert Goulding wrote:
I'm sure this is very easy, but I'm rusty on groff fonts, and I'm not sure
how to do it. I want to add the triangle symbol △ (U25b3) as an operator to
eqn. So, this is my documen
I'm sure this is very easy, but I'm rusty on groff fonts, and I'm not sure
how to do it. I want to add the triangle symbol △ (U25b3) as an operator to
eqn. So, this is my document:
.EQ
delim $$
define triangle 'type "operator" △'
.EN
.LP
In $triangle ABC$ there are three sides.
When I run this
Is there a function in groff to find the position of a char in a string.
So I can split a string into more than one.
I found the substring function that can cut based on length. If I could my
marker in the string I could cut it there.
Kind regards,
Wim Stockman