Another option is to use #'extra-offset to reposition
objects after LilyPond has finished its layout.  This
is always a last resort, as you have to reposition
objects manually and it is your responsibility to
ensure that other collisions don't ensue.  But in this
case it might solve your problem.  To swap over lyrics
and markup use

\override TextScript #'extra-offset = #'(0 . 2.5)
\override Lyrics.LyricText #'extra-offset = #'(0 . -2.5)

at the top of your music in the staff to which the lyrics
are attached.  Change the 2.5 to suit your scaling.

Trevor D

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:lilypond-user-bounces+t.daniels=treda.co.u
> [EMAIL PROTECTED] Behalf Of
> Mats Bengtsson
> Sent: 10 December 2007 06:50
> To: Michael Käppler
> Cc: lilypond-user@gnu.org
> Subject: Re: TextScript/Lyrics positioning order
>
>
> Quoting Michael Käppler <[EMAIL PROTECTED]>:
>
> > Hi all,
> > how can I get Lilypond to align simple
> TextScripts(something like
> > c4.^"blabla") >above< the LyricText?
> > I write a piece of choir music for four voices
> on two staves like
> > template A.4.1 in the manual.
> > I tried setting outside-staff-priority higher
> for TextScript, which
> > failed. Padding the TextScript only leads to
> Lyrics further away from
> > the Staff.
>
> As you have noted, if you attach a TextScript to
> a note in a stave,
> then LilyPond considers it part of that stave and
> keeps the vertical
> order of the different contexts (staves, lyric
> lines, ...).
>
> However, you can instead attach a textual
> annotation to a lyrics
> syllable, using a text markup command. Let's say
> that your syllable
> is "I" and that you want to add "Shout!" on top
> of it, than you can
> use \lyricmode{  \override LyricText #'direction = #UP
>   ... \markup{ \dir-column { I Shout! } } ...
>
> If you instead want the annotation below a
> syllable, then you can use
> the \column markup command and don't have to
> bother about setting the
> direction property.
>
>     /Mats
>
> > Thanks for any help.
> >
> > Regards,
> > Michael
> >
> >
> > _______________________________________________
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > http://lists.gnu.org/mailman/listinfo/lilypond-user
> >
>
>
>
>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>




_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to