Re: how to automatically left-align rehearsal marks at the beginning of a line

2014-10-15 Thread Pierre Perol-Schneider
2014-10-15 18:33 GMT+02:00 Thomas Morley : > > how about: > > \version "2.19.13" > > \layout { > \context { > \Score > \override RehearsalMark.self-alignment-X = > #(lambda (grob) > (let* ((break-dir (ly:item-break-dir grob))) > (case break-dir > ((-1)

Re: how to automatically left-align rehearsal marks at the beginning of a line

2014-10-15 Thread user3871075
That is exactly what I was looking for. Thanks! -Russ P.S. regarding the confusion about the placement of \mark and/or \break in my snippet... I tend to prefer the style of putting \mark immediately before the bar line in question rather than immediately following, and the \break was simply to

Re: how to automatically left-align rehearsal marks at the beginning of a line

2014-10-15 Thread Robert Schmaus
Am 15/10/14 15:58, schrieb Pierre Perol-Schneider: > Hi Russ, Hi Robert, > > 2014-10-15 8:44 GMT+02:00 Robert Schmaus >: > > Maybe I misunderstood you there, but rehearsal marks should be put > at the place where they are supposed to appear. > > > Putt

Re: how to automatically left-align rehearsal marks at the beginning of a line

2014-10-15 Thread Thomas Morley
2014-10-15 6:11 GMT+02:00 user3871075 : > Hello, > > I occasionally have a rehearsal mark fall on the first measure of a line, > and I have to manually make it left-aligned so it will print. (I use small > margins.) However, then I have more manual work if the music layout changes > enough that t

Re: how to automatically left-align rehearsal marks at the beginning of a line

2014-10-15 Thread Pierre Perol-Schneider
Hi again, Forget my previous code which make no sense (I'm a little tired). Here's something simpler : \version "2.18.2" \layout { \context { \Score \override RehearsalMark.self-alignment-X = #LEFT } } \relative c'' { c1 \tweak break-visibility #end-of-line-visible \tweak self

Re: how to automatically left-align rehearsal marks at the beginning of a line

2014-10-15 Thread Pierre Perol-Schneider
Hi Russ, Hi Robert, 2014-10-15 8:44 GMT+02:00 Robert Schmaus : Maybe I misunderstood you there, but rehearsal marks should be put at the > place where they are supposed to appear. > Putting \break before or after a rehearsal mark won't affect anything. > On 15 Oct 2014, at 06:11, user3871075

Re: how to automatically left-align rehearsal marks at the beginning of a line

2014-10-14 Thread Robert Schmaus
Hi russ, Maybe I misunderstood you there, but rehearsal marks should be put at the place where they are supposed to appear. In your case: \relative c'' { \mark \markup "at start of measure" c2 \mark \markup "after 2 beats" c2 | \break \mark \markup "at start of next measure" c1

how to automatically left-align rehearsal marks at the beginning of a line

2014-10-14 Thread user3871075
Hello, I occasionally have a rehearsal mark fall on the first measure of a line, and I have to manually make it left-aligned so it will print. (I use small margins.) However, then I have more manual work if the music layout changes enough that the rehearsal mark is no longer on the first measure