Re: Rather involved TextSpanner edge-text Scheme markup question

2006-09-18 Thread Trevor Bača
On 9/18/06, Markus Schneider <[EMAIL PROTECTED]> wrote: I forgot: more importantly, use \combine to print the markups on top of each other. That may take care of your horizontal space problem. Markus "Markus Schneider" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi Trevo

Re: Rather involved TextSpanner edge-text Scheme markup question

2006-09-18 Thread Han-Wen Nienhuys
Mats Bengtsson wrote: I expected something like (markup #:pad-to-box '(0 . 0) '(-2 . 2) "f") to solve the problem, but apparently it doesn't. If you want to pursue your current approach, try the \combine markup command (and try it first without your current #:hcenter commands, they caused me s

Re: Rather involved TextSpanner edge-text Scheme markup question

2006-09-18 Thread Markus Schneider
I forgot: more importantly, use \combine to print the markups on top of each other. That may take care of your horizontal space problem. Markus "Markus Schneider" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi Trevor, > > you may try to use the "fake" letter f. It has all

Re: Rather involved TextSpanner edge-text Scheme markup question

2006-09-18 Thread Markus Schneider
Hi Trevor, you may try to use the "fake" letter f. It has all the necessary ascenders and descenders to fake the basline. I use this with dynamics. pX = #(make-dynamic-script (markup #:combine #:transparent #:dynamic "f" #:line(#:hspace 0 #:dynamic "p" #:hspace 0))) HTH Markus _

Re: Rather involved TextSpanner edge-text Scheme markup question

2006-09-18 Thread Mats Bengtsson
I expected something like (markup #:pad-to-box '(0 . 0) '(-2 . 2) "f") to solve the problem, but apparently it doesn't. If you want to pursue your current approach, try the \combine markup command (and try it first without your current #:hcenter commands, they caused me some confusing results).

Rather involved TextSpanner edge-text Scheme markup question

2006-09-17 Thread Trevor Bača
Hi, I'm trying to get the edge text of a series of consecutive TextSpanners to vertically align according to baseline. I've pasted in a sequence of ever-closer steps but beware that the post is long. If you're not interested in markup, skip to the next thread. Here's what I'm starting out with,