On 2020-10-24 5:05 pm, Mike Dean wrote:
...between the end of the first section and the start of the Trio, but have
stumped myself in properly coding it (I went to alternative endings to
ensure that I had a repeat sign)
(PDF and .ly file attached, beside the snippet below)
[...]

You have to use a special bar line type when it breaks across a line:

%%%%
\version "2.20.0"
\paper { indent = 0 line-width = 3\cm ragged-right = ##f }

\markup \bold \typewriter "\".|:-||\""
{ R1 \bar ".|:-||" \break R1 }

\markup \vspace #1

\defineBarLine ".|:-|." #'("|." ".|:" #f)
\markup \bold \typewriter "\".|:-|.\""
{ R1 \bar ".|:-|." \break R1 }
%%%%

As shown in the second example, sometimes you need to define your own custom type if LilyPond does not provide what you need already.


-- Aaron Hill

Reply via email to