[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alignment: gjpqy chars in markup
From: |
Mats Bengtsson |
Subject: |
Re: alignment: gjpqy chars in markup |
Date: |
Mon, 15 Aug 2005 11:41:05 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 |
Developers, it would be nice to get some clarification on the
alignment of different markups!
For some strange reason, the following seems to work.
\layout{raggedright=##t}
{ c'^\markup{"foo" \hspace #0.0 } c'^\markup{"bag" \hspace #0.0 } }
It's not at all clear to me how the alignment is handled here.
Some related issues were brought up in
http://lists.gnu.org/archive/html/lilypond-user/2005-08/msg00199.html
/Mats
Graham Percival wrote:
What's the best way to get two markup strings (once containing a gjpqy,
the other
without such characters) to align? In the example below, the "bag" is
typeset
higher than "foo", because the "g" requires space under the line.
The extra space seems to correspond to 0.4 staffspaces, so I _could_
align them
by doing
\once \override TextScript #'extra-offset = #'(0 . 0.4)
but this seems like a non-ideal solution.
\layout{raggedright=##t}
{ c'^"foo" c'^"bag" }
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================