]> git.donarmstrong.com Git - lilypond.git/commit
Allows optional octavation for clefs
authorMarc Hohl <marc@hohlart.de>
Sat, 27 Oct 2012 20:22:25 +0000 (22:22 +0200)
committerMarc Hohl <marc@hohlart.de>
Wed, 7 Nov 2012 06:55:46 +0000 (07:55 +0100)
commit74b4c9351b01381f0dc1d6d4688dcd845fc59720
treec4d72c6015d44cea65d07da2a6b684712c6fa8d0
parenta68e2f12c41ddbf91bbea15f345d0eb37bd87e69
Allows optional octavation for clefs

Clef specifications like \clef "G_(8)" or
\clef "bass^[15]" are supported.

A new property clefOctavationStyle (and its cue
clef couterpart cueClefOctavationStyle) is introduced.
When set to 'default, the octavation number is displayed
as before; 'parenthesized calls for parenthesized numbers
and 'bracketed used brackets around the number.

Furthermore, a scheme formatter function is used for
displaying the ocatavation number, so can be customized
more easily.
input/regression/clef-optional-octavation.ly [new file with mode: 0644]
input/regression/cue-clef-optional-octavation.ly [new file with mode: 0644]
lily/clef-engraver.cc
lily/cue-clef-engraver.cc
ly/engraver-init.ly
scm/define-context-properties.scm
scm/parser-clef.scm
scm/translation-functions.scm