Re: move the RehearsalMark object to the left

2017-04-02 Thread Federico Bruni



Il giorno dom 2 apr 2017 alle 22:24, Simon Albrecht 
 ha scritto:

Am 02.04.2017 um 19:47 schrieb Federico Bruni:

% this doesn't work:
 \override RehearsalMark.self-alignment-X = #3
 \mark \markup { "Coda" }

Just use
\tweak self-alignment-X …
and you’re all set.




I like this concise tweak.
Thank you all




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: move the RehearsalMark object to the left

2017-04-02 Thread Federico Bruni



Il giorno dom 2 apr 2017 alle 22:24, Simon Albrecht 
 ha scritto:

Am 02.04.2017 um 20:31 schrieb tisimst:
Under normal circumstances, it is implied that you are referring to 
the Staff context.


That’s “to the Bottom (or Voice) context”, isn’t it?




Sure, I haven't typeset music for some time and I forgot the basics!

It would be nice if LilyPond printed a warning in such a case. 
Something like:


Warning: you are trying to override the settings of a Score object 
within a Voice context. Please specify the grob context explicitly.





___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: move the RehearsalMark object to the left

2017-04-02 Thread Simon Albrecht

Am 02.04.2017 um 19:47 schrieb Federico Bruni:

% this doesn't work:
 \override RehearsalMark.self-alignment-X = #3
 \mark \markup { "Coda" } 


Just use
\tweak self-alignment-X …
and you’re all set.

Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: move the RehearsalMark object to the left

2017-04-02 Thread Simon Albrecht

Am 02.04.2017 um 20:31 schrieb tisimst:
Under normal circumstances, it is implied that you are referring to 
the Staff context.


That’s “to the Bottom (or Voice) context”, isn’t it?

Best, Simon

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: move the RehearsalMark object to the left

2017-04-02 Thread tisimst
On Sun, Apr 2, 2017 at 11:47 AM Federico Bruni-2 [via Lilypond] <
ml-node+s1069038n20185...@n5.nabble.com> wrote:

> Hi all
>
> I have a simple question, but I couldn't find a solution.
> I'm always confused with horizontal alignment..
>
> I want to move the RehearsalMark object to the left:
>
>
> \version "2.19.57"
> {
>   R1*4 \break
>   R1
>   % how to move it to the left?
>   % this doesn't work:
>   \override RehearsalMark.self-alignment-X = #3
>   \mark \markup { "Coda" }
>   R1*4
> }
>

RehearsalMarks live in the Score context, so you need to change it to

\override Score.RehearsaMark.self-...

Under normal circumstances, it is implied that you are referring to the
Staff context.

HTH,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/move-the-RehearsalMark-object-to-the-left-tp201858p201859.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


move the RehearsalMark object to the left

2017-04-02 Thread Federico Bruni

Hi all

I have a simple question, but I couldn't find a solution.
I'm always confused with horizontal alignment..

I want to move the RehearsalMark object to the left:


\version "2.19.57"
{
 R1*4 \break
 R1
 % how to move it to the left?
 % this doesn't work:
 \override RehearsalMark.self-alignment-X = #3
 \mark \markup { "Coda" }
 R1*4
}




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user