Staff breaking in unmetered music in LilyPond version 2.18.2.

1. I have proposed, on the basis of solution received, new variables
to automated staff breaking in unmetered music:

unmeteredOn = {
        \cadenzaOn
        \set Score.defaultBarType = #""
        \set Score.barAlways = ##t
}
unmeteredOff = {
        \cadenzaOff
        \unset Score.defaultBarType
        \unset Score.barAlways
}
\relative c' {
        \unmeteredOn
        ...
        \unmeteredOff
        ...     
}

2. Variable unmeteredOff has been defined in solution received:
unmeteredOff = {
        \set Score.defaultBarType = #"|"
        \set Score.barAlways = ##f
        \cadenzaOff
}

3. According to manuals changed default setting usually is unchanged
with \unset command.
4. I have concluded that it is universal way, because composer can set
another setting of defaultBarType before putting command \unmeteredOn,
i.e. \set Score.defaultBarType = #"'".
5. So definig command \unmeteredOff as in point 2. as above removes
composer setting of his default bar type.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to