[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: null markup
From: |
Mats Bengtsson |
Subject: |
Re: null markup |
Date: |
Fri, 26 Aug 2005 14:40:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 |
As far as I can understand, a \hspace #0 gives a markup that is
0pt wide but has a height that is the total height (i.e. the depth + the
height) of the characters in the font. That's the only way I can explain
what happens in your example. However, I'm not sure if that's a good
behaviour for \null in general. Consider for example the difference
between the two boxes in
\markup{\box \column { A \line {a \hspace #0.0 } }
\box \column { A \line {a \null} } }
I think the current implementation of \null behaves more intuitively.
On the other hand, the alignment issues of markups in general are far
from clear.
/Mats
Graham Percival wrote:
Could \null mimic the behavior of \hspace #0 ? It would be nice if we
could use it in the following way:
\layout{ raggedright=##t}
{ \fatText
c4^\markup{ \null aaa}
c4^\markup{ \null qqq}
c4^\markup{ \hspace #0 aaa}
c4^\markup{ \hspace #0 qqq}
}
_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel
--
=============================================
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
=============================================
- null markup, Graham Percival, 2005/08/25
- Re: null markup,
Mats Bengtsson <=