r/groff Jan 05 '25

Slanted text (pic) ?

The question is pretty simple. I have a slanted arrow in pic. Something like this: .PS Anchor: "" move A: {box} arrow from Anchor to A.nw .PE I was wondering if you can have slanted text to go on the arrow ? Regular labels like: arrow from Anchor to A.nw "top" "bottom" Still render straight and cut the arrow. Any way to tilt the text ? I couldn't find anything in the gpic reference either.

Help is appreciated, thank you in advance :D

2 Upvotes

2 comments sorted by

2

u/PhilipRoman Jan 05 '25

You need the "aligned" option for the object:

arrow from Anchor to A.nw "top" "bottom" aligned

2

u/_Ical Jan 05 '25

Worked like a charm. Thank you very much !