I tried Raphael's post but it's not wrapping for me

I created the function as below:
function @Superscript(&super:string, &x:measure, &y:measure)
SetStyle(&Helvetica6)
moveto(&x, &y - 0.06)
show(&super)
moveto(&x, &y)
endfunction()

----------------------
Then I used a Text object and copied below Prestalk code


setstyle(&Default)
beginparagraph(0,6,0,'left',0.1598)
show(trim(@(12,1,2)))
endparagraph

@SuperScript('ier', &current.x, &current.y)
setstyle(&Default)
rmoveto(0, -0.1598)

beginparagraph(0,6,&current.x,'left',0.1598)
show(trim(@(12,3,20)))
endparagraph

The idea was to split the date in two blocks of code, and call the superscript function in between, and use & current.x as the first indentation of the second paragraph. I tested this code with both Helvetica but it's not wrapping, the superscript (ier) is static and not wrapping correctly.

I need to print
1ierjuin 1973
29iemejuin 2020




Edited by Sami786 (07/29/20 04:01 PM)
_________________________
Peace