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
[email protected]
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: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to