X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fambitus.ly;h=f8c5829c6dfe83321e40c079387427e1c11e0d10;hb=aa0d40a1c751626db12bedb806e32bf1d4270876;hp=ec79d0d4459f08bea0e6d48286b65ecd8f7f8732;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/ambitus.ly b/input/regression/ambitus.ly index ec79d0d445..f8c5829c6d 100644 --- a/input/regression/ambitus.ly +++ b/input/regression/ambitus.ly @@ -1,100 +1,27 @@ -#(ly:set-option 'old-relative) \header { texidoc = "Ambituses indicate pitch ranges for voices. -By default, the ambitus grob is put before the clef. You can control -this behaviour through the @code{breakAlignOrder} property of the score -context by redefining the order. - - -The shape of the note heads to use can be changed via the -@code{note-head-style} property, which holds the glyph name of the -note head. The vertical line between the upper and lower head can be -switched on or off via the @code{join-heads} property. +Accidentals only show up if they're not part of key +signature. @code{AmbitusNoteHead} grobs also have ledger lines. " } - -%{ - - tex chokes on # - -, e.g. with the following addition to the -paper block: - -@example -\translator @{ - \ScoreContext - breakAlignOrder = #'( - instrument-name - left-edge - span-bar - breathing-sign - clef - ambitus - key-signature - staff-bar - time-signature - custos - ) -@} -@end example - - -@example -\translator @{ - \VoiceContext - \consists Ambitus_engraver - Ambitus \set #'note-head-style = #'noteheads-2mensural - Ambitus \set #'join-heads = ##f -@} -@end example - - - %} -\version "1.9.0" - -upper = \notes \relative c { - \clef "treble" - \key c \minor - as'' c e bes f cis d e f g f e d f d e - f d e e d f d e e d f d e e d f d e - f d e e d f d e e d f d e e d f d e -} - -lower = \notes \relative c { - \clef "treble" - \key e \major - e'2 b4 g a c es fis a cis b a g f e d - f e d e f g f e d e f g f e d e f g - f e d e f g f e d e f g f e d e f g -} - -\score { \context ChoirStaff { - < - \context Staff = one { \upper } - \context Staff = three { \lower } - > } - \paper { - \translator { - \ScoreContext - breakAlignOrder = #'( - instrument-name - left-edge - ambitus - span-bar - breathing-sign - clef - key-signature - staff-bar - time-signature - custos - ) - } - \translator { - \VoiceContext - \consists Ambitus_engraver - } - } +\version "2.10.0" + +\layout { + ragged-right = ##t + \context { + \Voice + \consists Ambitus_engraver + } } +\relative +<< + \new Staff { \time 2/4 c4 f' } + \new Staff \relative { + \time 2/4 + \key d \major + cis as' + } +>>