lilypond-devel
[Top][All Lists]
Advanced

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

Re: TextScript


From: Stephen
Subject: Re: TextScript
Date: Tue, 10 May 2005 12:07:02 -0500

I would like to point out in comparing these two examples:

\override Voice.TextScript #'padding = #1.2
c4 c8. c16 c4^\markup { \translate #(cons 1.75 0) "Fine" } \breathe
\bar "||"

and

\override Voice.TextScript #'padding = #1.2
c4 c8. c16 c4 \breathe
\once \override Score.RehearsalMark
  #'break-visibility = #begin-of-line-invisible
\once \override Score.RehearsalMark #'self-alignment-X = #right
\once \override Score.RehearsalMark #'font-size = #0
\once \override Score.RehearsalMark #'padding = #1.2
\mark "Fine" \bar "||"

That in the second example, you have to change the padding for RehearsalMark, TextScript padding won't affect the rehearsal mark. The two examples are nearly identical. The advantage of the second is that you can line it up to the barline explicitly instead of eyeballing it and lining it up by hand with \translate.

Stephen

----- Original Message ----- From: "Mats Bengtsson" <address@hidden>
To: "Stephen" <address@hidden>
Cc: "lilypond devel" <address@hidden>
Sent: Tuesday, May 10, 2005 9:18 AM
Subject: Re: TextScript


Just add
\once \override Score.RehearsalMark #'self-alignment-X = #right

Simple, isn't it? :-)

  /Mats

Stephen wrote:
Sometimes, quite often really, \translate will not raise text, only move it left or right, but increasing padding will work.

I never considered using a Rehearsal Mark for text. I see now that it would work, but I want the end of the word 'Fine' to line up with the bar, so a little shifting would still be necessary, although maybe right or left alignment would work better using Rehearsal Mark.

Stephen

----- Original Message ----- From: "Mats Bengtsson" <address@hidden>
To: "Stephen" <address@hidden>
Cc: "lilypond devel" <address@hidden>
Sent: Tuesday, May 10, 2005 3:16 AM
Subject: Re: TextScript


Exactly what feature is it you want to illustrate? the padding or the
\translate markup command or?

By the way, why not use the \mark command to attach the Fine to the
bar line instead?

{\override Voice.TextScript #'padding = #1.2
c4 c8. c16 c4 \breathe
\once \override Score.RehearsalMark
  #'break-visibility = #begin-of-line-invisible
\mark "Fine" \bar "||"


   /Mats

Stephen wrote:

I think an example should be added to the documentation using TextScript under 5.7.5 Text scripts or 7.4 Text markup or 7.2.1 Common tweaks like this:

\override Voice.TextScript #'padding = #1.2
c4 c8. c16 c4^\markup { \translate #(cons 1.75 0) "Fine" } \breathe
\bar "||"

Or maybe demonstrating how to use script-priority might be more interesting in the Common tweak section although it is not a common tweak I suppose.

Stephen


_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel


--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 Fax:   (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================




_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel

--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 Fax:   (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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