lilypond-user
[Top][All Lists]
Advanced

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

Re: RhythmicStaff vs. repeat bar-aligned markup


From: Richard Opheim
Subject: Re: RhythmicStaff vs. repeat bar-aligned markup
Date: Sat, 23 Apr 2011 19:11:36 -0700

Wow. Couldn't even find that in the command index. But it worked just as you said.

On Sat, Apr 23, 2011 at 3:07 AM, Phil Holmes <address@hidden> wrote:
LilyPond normally only places Rehearsal Marks above the top staff.  To get rid of marks altogether, add this to the top of your code:
 
\layout {
    \context {
        \Score
        \remove "Mark_engraver"
        \remove "Staff_collecting_engraver"
    }
}
Then add
 
  \consists Mark_engraver
  \consists "Staff_collecting_engraver"
to the \with for your main staff - this will add the rehearsal marks back in for that staff.

--
Phil Holmes
 
 
----- Original Message -----
Sent: Friday, April 22, 2011 9:21 PM
Subject: RhythmicStaff vs. repeat bar-aligned markup

This one's beyond me. I want to insert some markup that aligns with the repeat bar instead of a musical note. It so happens that there's a RhythmicStaff above the main staff and over the measure where the repeat bar is, so my repeat bar-aligning markup text ("Repite ad lib.") now appears above the RhythmicStaff, instead of above the main staff with the other markup ("Guía"), as it would if there were no RhythmicStaff.
Here's some code that will reproduce my problem:
<<\new Staff = "main"
\with {\override VerticalAxisGroup #'minimum-Y-extent = #'(-2.5 . 2.5)}
\relative a { \clef "treble" \key c \major \time 6/8
%{measure 1 %} <<{\repeat volta 2 {a4 ^\markup {\bold {Guía}}c8 ~ c8 a8 [ a8 ]
%{measure 2 %}  g8 a4 a4.}}
\new RhythmicStaff \with {alignAboveContext = #"main" fontSize = #-3 }
{b4 b8 r8 b8 b8 r8 b4 b4 b8}>>
\once \override Score.RehearsalMark #'break-align-symbols = #'(repeat bar)
\once \override Score.RehearsalMark #'self-alignment-X = #RIGHT
\mark\markup{\normalsize Repite \normalsize\italic{ad lib.}}
%{measure 3 %} e1^\markup {\bold {Guía}}}>>

Can I get the "repite ad lib." to align horizontally with the "Guía"?
TIA
Richard Opheim
 
 


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user




--
Richard Opheim
Home: 425-486-5421
Cell: 425-381-9213
 
"The term 'fair tax' is one that ought to be permanently relegated to the oxymoron category, along with government efficiency, military intelligence, principled politician, market socialism, common ownership, Hollywood morality, and airline food." 
 
M.G. Warner


reply via email to

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