[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can I make a TextScript occupy no space, potentially colliding?
From: |
Richard Shann |
Subject: |
Re: Can I make a TextScript occupy no space, potentially colliding? |
Date: |
Sun, 12 Oct 2014 17:49:09 +0100 |
Perfect! I've found that in the documentation as well...
Thank you very much,
Richard
On Sun, 2014-10-12 at 18:40 +0200, Simon Albrecht wrote:
> 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