I'm making theory tests for students, and I'm trying to print a blank staff
(except for a clef and bar lines) divided into two, three or four equal
measures in which students will draw scales, triads or key signatures. Below
each measure will be centered text telling the students what to draw. I
first tried using s1 rests, but the text wasn't centered. Switching to R1
centers the text and make the measures equal length, but I can't figure out
how to remove the Rest_engraver to make the bar rests disappear.

I think what I've got is short enough to post the whole thing:

\version "2.16.1"

#(set-global-staff-size 30)

\paper {
  line-width = 7.5\in
  left-margin = 0.5\in
  ragged-last-bottom = ##f 
}

\score {
  {     
    R1_\markup {  \null \lower #3 "C major triad"  } | 
    R1_\markup { \null \lower #3 "G major triad" }  | 
    R1_\markup { \null \lower #3 "F major triad" }
    \break
    s1
  }
  \layout {
      indent = 0\in
      \context {
        \Staff
        \remove "Time_signature_engraver"              
      }
      
      \context {
        \Score
        \remove "Bar_number_engraver"
      }

  }
}

Thanks for any help,
Michael



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Removing-Rest-engraver-or-another-solution-tp140687.html
Sent from the User mailing list archive at Nabble.com.

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

Reply via email to