Modifications to Standar Lilypond Contexts

{: .no_toc .fs-9 }

In my experience in building and using this library for music engraving, I have slightly modified the behavior of some Lilypond standard contexts and layout objects. These modifications are presented here as a reference for you in engraving your solmisasi music. {: .fs-5 }

Translation Contexts

{: .no_toc .text-delta .fs-6 }

  1. TOC {:toc}

ChoirStaff

solmisasi-lily includes the following engravers into the ChoirStaff context: {: .pt-5 .fs-5 }

- [Bar_number_engraverr](http://lilypond.org/doc/v2.20/Documentation/internals/bar_005fnumber_005fengraver)

solmisasi-lily adds the following acceptable custom contexts into the ChoirStaff context: {: .pt-5 .fs-5 }

- [GlobalTempo](./custom-contexts.html#globaltempo) - [SolmisasiStaff](./custom-contexts.html#solmisasistaff)

GrandStaff

solmisasi-lily adds the following acceptable custom contexts into the GrandStaff context: {: .pt-5 .fs-5 }

- [SolmisasiChoirStaff](./custom-contexts.html#solmisasichoirstaff) - [SolmisasiLyrics](./custom-contexts.html#solmisasilyrics) - [SolmisasiStaff](./custom-contexts.html#solmisasistaff) - [SolmisasiTimeAndKeySignature](./custom-contexts.html#solmisasitimeandkeysignature) - [SolmisasiVoice](./custom-contexts.html#solmisasivoice)

PianoStaff

solmisasi-lily adds the following acceptable custom contexts into the PianoStaff context: {: .pt-5 .fs-5 }

- [SolmisasiLyrics](./custom-contexts.html#solmisasilyrics) - [SolmisasiStaff](./custom-contexts.html#solmisasistaff) - [SolmisasiTimeAndKeySignature](./custom-contexts.html#solmisasitimeandkeysignature) - [SolmisasiVoice](./custom-contexts.html#solmisasivoice)

Score

solmisasi-lily includes the following engravers into the Score context: {: .pt-5 .fs-5 }

- `\DbBars`
> Automatically creates double barlines in Staff whenever time signature and key signature changes found. - [Span_arpeggio_engraver](http://lilypond.org/doc/v2.20/Documentation/internals/span_005farpeggio_005fengraver)

solmisasi-lily removes the following engravers from the Score context: {: .pt-5 .fs-5 }

- [Bar_number_engraver](http://lilypond.org/doc/v2.20/Documentation/internals/bar_005fnumber_005fengraver) - [Metronome_mark_engraver](http://lilypond.org/doc/v2.20/Documentation/internals/metronome_005fmark_005fengraver)

solmisasi-lily adds the following acceptable custom contexts into the Score context: {: .pt-5 .fs-5 }

- [GlobalTempo](./custom-contexts.html#globaltempo) - [SolmisasiChoirStaff](./custom-contexts.html#solmisasichoirstaff) - [SolmisasiLyrics](./custom-contexts.html#solmisasilyrics) - [SolmisasiStaff](./custom-contexts.html#solmisasistaff) - [SolmisasiTimeAndKeySignature](./custom-contexts.html#solmisasitimeandkeysignature) - [SolmisasiVoice](./custom-contexts.html#solmisasivoice)

solmisasi-lily modifies/sets the following Score context properties: {: .pt-5 .fs-5 }

- Set translator property `barNumberVisibility` to `all-bar-numbers-visible` - Set translator property `majorSevenSymbol` to: ``` \markup { \fontsize #3 { \lower #1 { "M" \super "7" } } } ``` - Set translator property `noChordSymbol` to `(make-bold-markup "(tacet)")` - Set translator property `scriptDefinitions` to `solmisasi-script-alist` - Set translator property `tieWaitForNote` to `#t`

solmisasi-lily overrides the following settings of layout objects in Score context: {: .pt-5 .fs-5 }

- Overrides `BarNumber.after-line-breaking` to `#f` - Overrides `BarNumber.extra-offset` to `'(-0.3 . -0.1)` - Overrides `BarNumber.font-shape` to `'italic` - Overrides `BarNumber.font-size` to `-0.5` - Overrides `BarNumber.padding` to `1` - Overrides `SpanBar.layer` to `-5` - Overrides `SystemStartBar.collapse-height` to `4` - Overrides `SystemStartBar.thickness` to `1.9` - Overrides `TextSpanner.dash-fraction` to `0.35` - Overrides `TextSpanner.dash-period` to `2` - Overrides `TimeSignature.style` to `'numbered` - Overrides `VoltaBracket.font-size` to `-2.5`

Staff

solmisasi-lily overrides the following settings of layout objects in Staff context: {: .pt-5 .fs-5 }

- Overrides `InstrumentName.padding` to `0.8` - Overrides `InstrumentName.self-alignment-X` to `RIGHT` - Overrides `VerticalAxisGroup.remove-empty` to `#t` - Overrides `VerticalAxisGroup.remove-first` to `#t`

StaffGroup

solmisasi-lily adds the following acceptable custom contexts into the StaffGroup context: {: .pt-5 .fs-5 }

- [SolmisasiLyrics](./custom-contexts.html#solmisasilyrics) - [SolmisasiStaff](./custom-contexts.html#solmisasistaff) - [SolmisasiTimeAndKeySignature](./custom-contexts.html#solmisasitimeandkeysignature) - [SolmisasiVoice](./custom-contexts.html#solmisasivoice)

Voice

solmisasi-lily overrides the following settings of layout objects in Voice context: {: .pt-5 .fs-5 }

- Overrides `DynamicLineSpanner.direction` to `UP` - Overrides `DynamicLineSpanner.staff-padding` to `3.0` - Overrides `DynamicLineSpanner.Y-extent` to `'(2.5 . -2.5)` - Overrides `DynamicText.direction` to `UP` - Overrides `Script.direction` to `UP` - Overrides `TextScript.Y-extent` to `'(2.5 . -2.5)` - Overrides `TupletNumber.font-size` to `-1`