lilypond-user
[Top][All Lists]
Advanced

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

Re: Putting text IN the staff


From: Thomas Morley
Subject: Re: Putting text IN the staff
Date: Mon, 27 Apr 2015 01:54:12 +0200

2015-04-27 0:14 GMT+02:00 Anthonys Lists <address@hidden>:
> Simple problem, I can't find the solution ... :-)
>
> Basically, what I want is "\StaffOff   ...text...   \StaffOn". So, thinking
> treble clef, the text would be centred on the "b" line. Markup, however,
> seems to want to be above or below the staff, and that's it. How do I force
> it IN the staff, or am I using the wrong technique completely? I know you
> can force a rest to a note-position, is there any way of doing the same with
> text?
>
> Cheers,
> Wol
>



   \time 2/4
   s2
   \repeat volta 2 {
     \markLengthOn
     \tempo "Allegretto con Moto"
     s2*7
     \once \override Score.RehearsalMark.self-alignment-X = #1.04
     \once \override Score.RehearsalMark.font-size = #0
     \mark "Take 2nd on D.S."
   } \alternative { { s2 } { \once \override
Score.VoltaBracket.shorten-pair = #'(1 . 1.7) s2 } }
   \mark \markup \musicglyph #"scripts.coda"
   \stopStaff
   %% only needed if a StaffSymbol is present:
%   \override TextScript.outside-staff-priority = ##f
%   \override TextScript.staff-padding = ##f
   \override TextScript.Y-offset = #-0.5
   s1-"fp"
   \startStaff
   s2



reply via email to

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