Hi all

I am aware that you are answering all questions in this mailing list on a completely voluntary basis. Thank you very much for that. I also learn from every single question/answer as a silent reader.

I asked a question a few days ago, but did not receive an answer: https://lists.gnu.org/archive/html/lilypond-user/2025-05/msg00005.html

Because I haven't got any further in the specific case in the meantime, but a solution would be very helpful for further leadsheets I'm about to write, I'm taking the liberty of re-posting it - as an exception, I promise (see below).

I think my question is thematically very close to Tim's topic https://lists.gnu.org/archive/html/lilypond-user/2025-05/msg00078.html and an answer to my question might open alternative approaches for a solution for Tim's question.

Thanks in advance

Stephan



-------- Weitergeleitete Nachricht --------
Betreff:        How to avoid codaMark / sectionLabel collision?
Datum:  Mon, 5 May 2025 21:37:03 +0200
Von:    Stephan Schöll <[email protected]>
An:     lilypond-user <[email protected]>



Hi all

How can I avoid the collision warning and the omission of one of the marks in a way that both the \codaMark and the \sectionLabel are printed side by side (ideally the codaMark above the barline and the sectionLabel with a minimal offset to the right).

TIA

Stephan

%%% MWE

\version "2.25.4"

tuneWithMarks = \relative c' {
  c4 4 4 4
  \once \override Score.CodaMark.extra-offset = #'(-2 . 0) % moves the mark but does not avoid collision/omission
  \codaMark 1

  \once \override Score.SectionLabel.extra-offset = #'(2 . 0) % ... does not help either
  \sectionLabel "Chorus"
  4 4 4 4
}

\score {
  \tuneWithMarks
  \layout {}
}

Reply via email to