[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to use global variables with \Markup
From: |
Paul Harouff |
Subject: |
RE: How to use global variables with \Markup |
Date: |
Mon, 5 Feb 2007 20:34:37 -0600 |
You didn't understand my question.
I have 12 verses interspersed between the scores. I want to type all of the
verses in one spot at the beginning of the file, just like choral lyrics. I
don't want to have to search the file and edit every \markup to revise the
text every week.
Is there a way to create global variables of text and reference them in the
\markup blocks?
Paul
-----Original Message-----
From: Mats Bengtsson [mailto:address@hidden
Sent: Monday, February 05, 2007 2:49 AM
To: Paul Harouff
Cc: address@hidden
Subject: Re: How to use global variables with \Markup
See section "More about stanzas", which shows how to mix ordinary scores
with \markup commands that contain pure text.
/Mats
Paul Harouff wrote:
> I want to alternate markup text verses (reader) with scores (choir).
> The text verses change from week to week, but the scores remain the same.
>
> What I want to do is something like this:
>
> %
> % VERSES HERE
> %
> BVone = \new Text { Enter verse one text here }
> BVtwo = \new Text { Enter verse two text here }
> BVthree = \new Text { Enter verse three text here }
>
> %
> % MUSIC HERE
> %
> \score {
> }
> \markup { \hspace #5.0 \fontsize #2 \italic \with-color #red
> \override #'(line-width . 90) \justify \BVone
> }
> \score {
> }
> \markup { \hspace #5.0 \fontsize #2 \italic \with-color #red
> \override #'(line-width . 90) \justify \BVtwo
> }
> \score {
> }
> \markup { \hspace #5.0 \fontsize #2 \italic \with-color #red
> \override #'(line-width . 90) \justify \BVthree
> }
>
> Can anyone tell me a workaround that will do the same thing?
>
> Paul
> ------------------------------------------------------------------------
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
--
=============================================
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
=============================================