You need to tweak or override the self-alignment like so:

\version "2.18.2"

\new Voice {
  \tweak self-alignment-X #LEFT
  \mark \markup {\left-align "Left-Align"}
  \relative c' {c d e f g a b c}
}


\new Voice {
  \once \override Score.RehearsalMark.self-alignment-X = #RIGHT
  \mark \markup {\right-align "Right-Align"}
  \relative c' {c d e f g a b c}
}

\paper {indent = 0\cm}


--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de

2014-10-01 16:51 GMT+02:00 Jay Vara <[email protected]>:

> I am trying to get the text about the two staffs to align. \left-align or
> \right-align both seem to just give centre align. Here is the code and what
> it produces.
> %%%%%%%%%%
> \version "2.18.2"
>
> \new Voice {\mark \markup {\left-align "Left-Align"}
>  \relative c' {c d e f g a b c}
> }
>
>
> \new Voice {\mark \markup {\right-align "Right-Align"}
>  \relative c' {c d e f g a b c}
> }
>
> \paper {indent = 0\cm}
> \layout {}
> %%%%%%%%%%%
>
> [image: Inline image 1]
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to