Re: align markup text to right side of measure

2018-06-04 Thread Aaron Hill

On 2018-06-04 12:37, Simon Albrecht wrote:

On 04.06.2018 21:22, Reilly Farrell wrote:
I'm looking for a way to control the alignment of markup text.  
Specifically, I'm looking to align "D.C. al Fine" to the very right 
side of a measure, rather than having it float above a given note.


That’s simple, if you use a RehearsalMark – which is semantically no
bad idea anyway:

\version "2.19.80"
{
  1
  \tweak self-alignment-X -1 \mark\markup \normal-text\italic "D. C. al 
Fine"

  1
}


Just for the sake of readability, you might want to use #LEFT, #CENTER, 
or #RIGHT when setting the self-alignment-X property:



  \version "2.19.80"
  {
1
\tweak self-alignment-X #LEFT
\mark \markup \small "LEFT"
4 4 4 4
\tweak self-alignment-X #CENTER
\mark \markup \small "CENTER"
4 4 4 4
\tweak self-alignment-X #RIGHT
\mark \markup \small "RIGHT"
1
  }


That is a whole lot easier than trying to remember whether 1 or -1 means 
left or right.


-- Aaron Hill

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


Re: align markup text to right side of measure

2018-06-04 Thread Simon Albrecht

On 04.06.2018 21:22, Reilly Farrell wrote:
I'm looking for a way to control the alignment of markup text.  
Specifically, I'm looking to align "D.C. al Fine" to the very right 
side of a measure, rather than having it float above a given note.


That’s simple, if you use a RehearsalMark – which is semantically no bad 
idea anyway:


\version "2.19.80"
{
  1
  \tweak self-alignment-X -1 \mark\markup \normal-text\italic "D. C. al 
Fine"

  1
}

Best, Simon

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


align markup text to right side of measure

2018-06-04 Thread Reilly Farrell
I'm looking for a way to control the alignment of markup text.
Specifically, I'm looking to align "D.C. al Fine" to the very right side of
a measure, rather than having it float above a given note.  Here's a
snippet of the markup text in its current form:

c4 c4^\markup{ \italic { D.C. al Fine } } c4 c4

Any guidance on this issue is appreciated.  Thank you!
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user