Hi Mojca,
There is the command lmt_oscillated[...] in the latest update. Have a
look in the file luametafun-oscillate.tex which may have what you need.
Best Wishes
Keith
On 25/11/2025 10:25, Mojca Miklavec Groenhuis wrote:
Hi,
When typesetting large text on small curves with lmt_followtext, the
letters start overlapping.
There is a parameter "spread=true", but that spreads the text to the
full curve, while I would only like to slightly increase the kerning
between individual characters.
Example:
\setupbodyfont
[antykwa,25pt]
\starttext
\startMPpage
draw lmt_followtext [
text = "{\bf this is somewhat squeezed}",
path = fullcircle scaled 5cm rotated 90,
trace = false,
spread = false,
reverse = false,
];
\stopMPpage
\stoptext
In theory luatex/metapost could probably calculate the amount of
kerning adjustment needed to avoid overlap of the letters based on
height of the letters and angle difference, but it would already be
sufficient if I could add a fixed amount of additional kerning between
the individual letters.
Second question: is it possible to somehow combine lmt_outline and
lmt_followtext?
That is: how do I typeset outline letters on a curve?
Thank you,
Mojca
PS: I'm slightly confused about the documentation. Some elements are
strings, others are numeric, yet the default value seems to be
boolean. Based on other examples it looks like autoscaleup should be
string rather than numeric, and it would be really helpful to have a
list of valid values ("yes", "max", ...). Though for some reason
neither of them seemed to have any effect for me.
spread string true
trace numeric false
reverse numeric false
autoscaleup numeric no
autoscaledown string no
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________