lilypond-user
[Top][All Lists]
Advanced

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

Re: Text in front of Staves


From: Kale Good
Subject: Re: Text in front of Staves
Date: Thu, 15 Aug 2013 19:55:20 -0700 (PDT)

Wow, Nick, that's pretty sharp. Saves on paper for sure. Reminds me of how
they are set in the back of Pumping Nylon. 

Yes, Thomas, tupletspan was also giving me an error. 

I ended up resetting the short name of the instrument between each exercise
and then setting the margins the same in the layout block. This way it'll
break pages for me. 


\version "2.16.2"

\header {
 title = "120 Right Hand Studies"
 composer = "Mauro Giuliani"
 tagline = ""
}

cchord = { 
  \relative c {
    \bar ":|" 
    <c e g c e>1
    \bar "||:"  
  }
}

%%%%%%% Right hand fingerings %%%%%%%%%%
rhp = -\rightHandFinger #1 
rhi = -\rightHandFinger #2 
rhm = -\rightHandFinger #3 
rha = -\rightHandFinger #4 
rhx = -\rightHandFinger #5

strokesdown = 
  { 
    \set strokeFingerOrientations = #'(down) 
    \override StrokeFinger #'add-stem-support = ##t 
  }

strokesup = { 
  \set strokeFingerOrientations = #'(up) 
  \override StrokeFinger #'add-stem-support = ##t 
}

%%%%%%%%%%%%    bass lines   %%%%%%%%%%%%%

basslineOne = { 
  \relative c {
    \strokesdown {  
      c4\rhp e g c, | b d g b,
    } 
  } 
}

studies = {
  \new Staff 
  \clef "G_8" 
  \key c 
  \major 
  \time 4/4 
  \mergeDifferentlyHeadedOn 
  \mergeDifferentlyDottedOn
  \with { instrumentName = "N° 1." } 
  \relative c {  

  %%%%%%%%%%%%%%% 
  %Number 1 
  %%%%%%%%%%%%%%%
    << 
      { 
        \strokesup 
        \bar "|:"
         <c'\rhi e\rhm >4 <c e> <c e> <c e> 
         <d f> <d f> <d f> <d f> 
         \cchord
      
      }
      \\
      {
        \basslineOne 
      }
    >> 
  
  %%%%%%%%%%%%%%% 
  %Number 2 
  %%%%%%%%%%%%%%%
  \break \set Staff.shortInstrumentName = #"N° 2."
     << 
      { 
        \scaleDurations #'(2 . 3) {
          \strokesup 
        
          c,8 c'\rhi e\rhm   e, c' e  g, c e  c, c' e  
          b, d' f  d, d' f g, d' f  b,, d' f 
        
        }
        \cchord
      }
      \\
      {
        \basslineOne
      }
    >> 
  
  %%%%%%%%%%%%%%% 
  %Number 3 
  %%%%%%%%%%%%%%%
  \break \set Staff.shortInstrumentName = #"N° 3."
     << 
      { 
        \scaleDurations #'(2 . 3) {
          \strokesup 
        
          c,8 e'\rhm c\rhi   e, e' c  g e' c  c, e' c  
          b, f'' d  d, f' d g, f' d  b, f'' d 
        
        }
        \cchord
      }
      \\
      {
        \basslineOne
      }
    >> 
  }
}

\score {      
  \studies
  
  \midi {
        }
  \layout {
  ragged-right = ##f
  indent = 1.5\cm
  short-indent = 1.5\cm
      \context {
      \Score
      \override SystemStartBar #'stencil = ##f
      \override NoteColumn #'force-hshift = #0
      \remove "Bar_number_engraver"
    }
    \context {
      \Staff
    }
    \context {
      \Voice
      \override TupletBracket #'bracket-visibility = ##f
      \override TupletNumber #'stencil = ##f
    }
  }
}

\paper {
  %left-margin = 3\cm
  #(set-default-paper-size "letter")
}

best,
Kale



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Text-in-front-of-Staves-tp149121p149257.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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