Skip to content

Bar_engraver: create caesura/phrase bar lines

Dan Eble requested to merge dev/eble/caesura-bar-lines into master

Bar_engraver reads caesuraType and caesuraTypeTransform properties and uses the entries 'bar-line and 'underlying-bar-line. The bars that they specify are layered respectively above and below a measure bar. These options support the following important styles.

  • A phrase bar after every phrase
  • A phrase bar after every phrase ending in mid measure
  • A phrase bar after every phrase ending in mid measure at a line break

Allowing a line break without creating a bar line is not supported via caesuraType. Setting (underlying-bar-line . "") comes close, but overrides an underlying repeat bar (e.g., at a D.C.). Wrapping the command is an effective alternative:

myCaesura = {
  \once \set Score.forbidBreakBetweenBarLines = ##f
  %% could modify NonMusicalPaperColumn.line-break-penalty too
  \caesura
}

The NR gets a couple of bread crumbs.


Engrave \caesura as a thick bar in KievanStaff. (Same source as for !1528 (merged).)


Default to BarLine in GregorianTranscriptionStaff

Consistent with its description as "A staff for notating Gregorian chant in modern style", default to notating divisiones as BarLine grobs. They can be changed to Divisio grobs with \EnableGregorianDivisiones.

Edited by Dan Eble

Merge request reports