Re: Key Signature only on first staff

2015-07-26 Thread jmechmech
like that? :


\version "2.18.2"

global = {
   \time 4/4
   \tempo 4=90
   \key b \major
   s1  
}

melody = \relative c' {
   \repeat unfold 5 { cis dis e fis }
   \key g \major 
   \repeat unfold 5 { cis dis e fis }
}

wordsOne = \lyricmode{
   \set stanza = "1"
   c d e f g
}
wordsTwo = \lyricmode{
   \set stanza = "2"
   c d e f g
}

\score {
   <<
 \new Staff <<
   \global
   \melody
 >>
 \addlyrics { \wordsOne }
 \addlyrics { \wordsTwo }
   >>
   
\layout {
\context {
  \Score   
  \override SystemStartBar.collapse-height = #1
  \remove "Bar_number_engraver"
}
\context {
  \Staff
  \override Clef.break-visibility = #all-invisible
  \override KeySignature.break-visibility = #all-invisible
}
  }
} 




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Key-Signature-only-on-first-staff-tp178898p179086.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


Re: Fwd: Slash chords

2015-11-20 Thread jmechmech
sorry, in french :

http://www.linuxmao.org/Lilypond+et+les+lead+sheets#Accords_avec_basse_diff_rente_de_la_fondamentale

  



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Fwd-Slash-chords-tp183832p183840.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


Re: Fwd: Slash chords

2015-11-23 Thread jmechmech
Perfect for a snippet : 



\version "2.18.2"

#(define (lower-extension pitch chbass)
   "Return lowered markup for pitch note name."
   #{
 \markup \raise #-1.9 \halign #0.2
 #(note-name->markup pitch chbass)
   #})


\layout {
  \context {
\ChordNames
slashChordSeparator = \markup {
  % the \hspace commands simulate kerning
  \hspace #-1.2
  \lower #0.8 \rotate#-35 \scale #'(1 . 1.3) "|"
  \hspace #-1.4
}
chordNoteNamer = #lower-extension
  }
}

\score {
  \new StaffGroup <<
\chords {
  f2.:m c4:7/e c2:maj7
  f2:m/a f/g c:7/g c:7/e e/f
}
\new Staff { \key aes \major \time 3/4 c'4 aes'2 c'4 bes'2 r4 r r r r r
r r r  }
  >>
  \layout { }
}





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Fwd-Slash-chords-tp183832p183985.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


Re: How to write chords for a rhythm section part from a blind user

2015-12-23 Thread jmechmech
  
  \version "2.18.2"
chordNames = \chordmode {
  \repeat percent 2 { c1:7 } 
  \repeat percent 4 { f4 } 
}

melody = \relative c'' {
  \repeat percent 2 { c1 } 
  \repeat percent 4 { c4 } 
}
\score {
  <<
\new ChordNames \chordNames
\new Staff { \melody }
  >>
  \layout {   
\context {
  \ChordNames 
  \consists "Percent_repeat_engraver" 
  \consists "Slash_repeat_engraver"
  \override RepeatSlash.extra-offset = #'(0 . 1)
  \override PercentRepeat.extra-offset = #'(0 . 1)
}
  }
}





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/How-to-write-chords-for-a-rhythm-section-part-from-a-blind-user-tp184991p185025.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


Re: How can I get a repeat symbol in the chord names part of lead sheet?

2017-01-21 Thread jmechmech
Thanks, i have the same bug in this message

and my answer :

\version "2.18.2"
chordNames = \chordmode {
  \repeat percent 2 { c1:7 } 
  \repeat percent 4 { f4 } 
}

melody = \relative c'' {
  \repeat percent 2 { c1 } 
  \repeat percent 4 { c4 } 
}
\score {
  <<
\new ChordNames \chordNames
\new Staff { \melody }
  >>
  \layout {   
\context {
  \ChordNames 
  \consists "Percent_repeat_engraver" 
  \consists "Slash_repeat_engraver"
  \override RepeatSlash.extra-offset = #'(0 . 1)
  \override PercentRepeat.extra-offset = #'(0 . 1)
}
  }
}




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Re-How-can-I-get-a-repeat-symbol-in-the-chord-names-part-of-lead-sheet-tp199418p199425.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