lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I make a TextScript occupy no space, potentially colliding?


From: Simon Albrecht
Subject: Re: Can I make a TextScript occupy no space, potentially colliding?
Date: Sun, 12 Oct 2014 18:40:15 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.1.2

Am 12.10.2014 um 18:21 schrieb Richard Shann:
In this code I put a large letter A above the music.
If I uncomment the tweak the letter A is moved elsewhere, but it still
takes up space at the top of the score.
If I uncomment the override, I don't get the space back.

\version "2.18.0"
\score {
  {
   %\override  TextScript.Y-extent = #'(0 . 0)
   a1
   %-\tweak #'extra-offset #'(7 . -12)
   ^\markup {\fontsize #12 A }
   }
}

Is there a way to stop LilyPond trying to prevent my TextScript
colliding - to say that it occupies, say, no space?

Richard
Hello Richard,

try:

%%%%%%%%%%%%
\version "2.18.0"

\score {

{

a1

%-\tweak #'extra-offset #'(7 . -12)

^\markup { \with-dimensions #'(0 . 0) #'(0 . 0) \fontsize #12 A }

}

}

%%%%%%%%%%%%

HTH, Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]