lilypond-user
[Top][All Lists]
Advanced

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

Removing Rest_engraver or another solution


From: Michael Rivers
Subject: Removing Rest_engraver or another solution
Date: Sat, 9 Feb 2013 17:25:42 -0800 (PST)

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.



reply via email to

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