Hi Joram,

Try:

\version "2.18.2"

{
  c''->
    ^\markup \with-dimensions #'(0 . 0) #'(0 . 0)
    "note"
}


Cheers,
Pierre

2015-03-17 2:18 GMT+01:00 Noeck <noeck.marb...@gmx.de>:

> Hi,
>
> can I put a text relative to an object without affecting spacing?
> Considering, { c''->^"note" }, the "note" pushes the staff a bit down. I
> would like it to appear at the same position w.r.t. the staff (it also
> may be different, I don't care too much) but being ignored by spacing
> (thus reaching into the top margin).
>
> Is that possible?
>
> My goal is to have debug-text which can be switched on but must not
> affect the layout (may collide with the real content instead of pushing
> anything around).
>
> Best,
> Joram
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to