# Align text above clef

4 messages
Open this post in threaded view
|

## Align text above clef

 Hi, I have to center-align some texts above and below clefs like in the attached image. Before I start fiddling around with the Clef stencil and combine the markups I'd like to ask if there's a simpler and more straightforward way to achieve that. Ideally I'd like to have the markups at a fixed vertical position so several of those on one system will align properly. Any suggestions? Thanks Urs _______________________________________________ lilypond-user mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/lilypond-user neue-vorlage-seitenkorrekt.png (45K) Download Attachment
Open this post in threaded view
|

## Re: Align text above clef

 Hi, On 2018-10-15 11:22, Urs Liska wrote: > Hi, > > I have to center-align some texts above and below clefs like in the > attached image. > > Before I start fiddling around with the Clef stencil and combine the > markups I'd like to ask if there's a simpler and more straightforward > way to achieve that. > > Ideally I'd like to have the markups at a fixed vertical position so > several of those on one system will align properly. How about using the break-alignable-interface, see http://lilypond.org/doc/v2.19/Documentation/notation/aligning-objects#using-the-break_002dalignable_002dinterface  ? A starting point could be \relative c'{    \clef alto    \override Score.RehearsalMark.break-align-symbols= #'(clef)    \override Score.Clef.break-align-anchor-alignment = #CENTER    \mark "text"    c e f g }     /Mats _______________________________________________ lilypond-user mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/lilypond-user