---------- Forwarded message ----------

> From: Werner LEMBERG <w...@gnu.org>
> To: pierre.schneider.pa...@gmail.com
> Cc: lilypond-user@gnu.org
> Bcc:
> Date: Sun, 24 Nov 2019 23:30:34 +0100 (CET)
> Subject: Re: horizontal position of rehearsal marks at start of system
>
> >> how can I control the default horizontal position of rehearsal
> >> marks at the beginning of a line?  As can be seen in the attached
> >> image, the rehearsal mark gets shifted up because it would
> >> otherwise collide with the bar number.  Consequently, I would like
> >> to have the default position shifted to the right to avoid that.
> >
> > Did you move the bar number to get such output?
>


> Thanks for this solution, however, I'm interested in a way to adjust
> the *default* horizontal position, not a one-time correction.  Looking
> at the stuff for `RehearsalMark` in file `define-grobs.scm` I can't
> see how the horizontal position at the beginning of a line gets
> computed – whatever it is, I want that by default it gets positioned
> more to the right.
>
>     Werner
>

Sorry, I'm not sure I can get you exactly what you want, since I'm not sure
what is the difference in terms of how rehearsal marks are aligned between
those at the start of a line, and those in the middle of a line.

But you can adjust the default alignment of all rehearsal marks with
commands like

    \override Score.RehearsalMark.self-alignment-X = #LEFT
    \override Score.RehearsalMark #'extra-offset = #'( -1.0 . 0 )

And of course, you can override any particular one using those
prefixed by \once


HTH,

Elaine Alt
415 . 341 .4954                                           "*Confusion is
highly underrated*"
ela...@flaminghakama.com
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to