[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: horizontal position of rehearsal marks at start of system
From:       Flaming Hakama by Elaine <elaine () flaminghakama ! com>
Date:       2019-11-29 2:37:14
Message-ID: CACX-=8z6R73HfhWoPbEnWY2vQ6qzYx95Bu3tMr14Shw2Nn=cLw () mail ! gmail ! com
[Download RAW message or body]

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

> From: Werner LEMBERG <wl@gnu.org>
> To: pierre.schneider.paris@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*"
elaine@flaminghakama.com
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr"><br clear="all"><div><div dir="ltr" \
class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"></div></div></div></div></div></div></div></div></div></div><div \
class="gmail_quote"><div>  </div><div>---------- Forwarded message \
----------</div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From:  Werner LEMBERG \
&lt;<a href="mailto:wl@gnu.org" target="_blank">wl@gnu.org</a>&gt;<br>To:  <a \
href="mailto:pierre.schneider.paris@gmail.com" \
target="_blank">pierre.schneider.paris@gmail.com</a><br>Cc:  <a \
href="mailto:lilypond-user@gnu.org" target="_blank">lilypond-user@gnu.org</a><br>Bcc: \
<br>Date:  Sun, 24 Nov 2019 23:30:34 +0100 (CET)<br>Subject:  Re: horizontal position \
of rehearsal marks at start of system<br><br> &gt;&gt; how can I control the default \
horizontal position of rehearsal<br> &gt;&gt; marks at the beginning of a line?   As \
can be seen in the attached<br> &gt;&gt; image, the rehearsal mark gets shifted up \
because it would<br> &gt;&gt; otherwise collide with the bar number.   Consequently, \
I would like<br> &gt;&gt; to have the default position shifted to the right to avoid \
that.<br> &gt;<br>
&gt; Did you move the bar number to get such output?<br>
</blockquote><div>  </div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Thanks for this \
solution, however, I&#39;m interested in a way to adjust<br> the *default* horizontal \
position, not a one-time correction.   Looking<br> at the stuff for `RehearsalMark` \
in file `define-grobs.scm` I can&#39;t<br> see how the horizontal position at the \
beginning of a line gets<br> computed – whatever it is, I want that by default it \
gets positioned<br> more to the right.<br><br>
      Werner<br></blockquote><div><br></div><div>Sorry, I&#39;m not sure I can get \
you exactly what you want, since I&#39;m not sure  </div><div>what is the difference \
in terms of how rehearsal marks are aligned between</div><div>those at the start of a \
line, and those in the middle of a line.</div><div><br></div><div>But you can adjust \
the default alignment of all rehearsal marks with  </div><div>commands like  \
</div><div><br></div><div><div>      \override Score.RehearsalMark.self-alignment-X = \
#LEFT<br>      \override Score.RehearsalMark #&#39;extra-offset = #&#39;( -1.0 . 0 \
)<br><font color="black" face="arial" size="2">

</font><br></div><div>And of course, you can override any particular one using those  \
</div><div>prefixed by \
\once</div><div><br></div><div><br></div><div>HTH,</div><div><br></div><div>Elaine \
Alt<br></div><div>415 . 341 .4954                                                     \
&quot;<i>Confusion is highly underrated</i>&quot;<br></div><a \
href="mailto:elaine@flaminghakama.com" \
target="_blank">elaine@flaminghakama.com</a></div><font color="black" face="arial" \
size="2">Producer ~ Composer ~ Instrumentalist ~ \
Educator<br></font>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-</div><div \
class="gmail_quote"><br></div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic