lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: right aligning text


From: Nicolas Sceaux
Subject: Re: right aligning text
Date: Sun, 30 Apr 2006 12:58:17 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Paul Scott <address@hidden> writes:

> Why doesn't this code right align the text on the bar line?
>
> \version "2.8.1"
>
> \relative c'' {
>   a1 c f g^\markup{ \right-align{ "D.S. al Coda" } }
>   f
> }
>
> TIA,
>
> Paul Scott

If you want to align something on a bar line, you'd better use \mark.

DSalCoda = {
  \once \override Score . RehearsalMark #'break-visibility = 
#begin-of-line-invisible
  \once \override Score . RehearsalMark #'self-alignment-X = #RIGHT
  \once \override Score . RehearsalMark #'direction = #DOWN
  \once \override Score . RehearsalMark #'no-spacing-rods = ##t
  \once \override Score . RehearsalMark #'padding = #2
  \mark "D.S. al coda"
}

{
  c'1 c' \DSalCoda
}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]