lilypond-user
[Top][All Lists]
Advanced

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

Re: Markup in stanza


From: Mats Bengtsson
Subject: Re: Markup in stanza
Date: Tue, 14 Jun 2005 16:32:11 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

It seems that you have found some bugs. According to the program
reference, the stanza property can be set to a markup, but there
are two problems here.

1. The following gives a syntax error:
\version 2.5.30
<<
\context Voice = mel \relative c'' { r4 r4 c4 c4 }
\lyricsto  mel \new Lyrics \lyricmode{
  \set stanza = \markup{ "1." \dynamic "mp" }
  \skip 2
  Foo8
}
>>

2. Trying to work around this syntax limitation, I came up with
  the following example which still does not produce any stanza.
  Replacing the \markup with a string works well:
\version 2.5.30
<<
\context Voice = mel \relative c'' { r4 r4 c4 c4 }
\lyricsto  mel \new Lyrics %\with {stanza = \markup{ "1." \dynamic mp }}
\lyricmode{
  \set stanza = \markup{ "1." \dynamic "mp" }
  \skip 2
  Foo8
}
>>


   /Mats

Ben van Zanten wrote:
Thanks for your input, but none of the markup commands seem to work :
 % this works
 \set stanza = "mf"

 % this doesn't
 \set stanza = \markup { \dynamic (mf) }    %empty
 \set stanza = \markup { \dynamic ("mf") }  %empty
Is my syntax incorrect ?

Ben
-----Original Message-----
From: Mats Bengtsson [mailto:address@hidden Sent: zondag 12 juni 2005 13:02
To: Graham Percival
Cc: Ben van Zanten; address@hidden
Subject: Re: Markup in stanza

Quoting Graham Percival <address@hidden>:


On 11-Jun-05, at 3:18 PM, Ben van Zanten wrote:

I would like to be able to put markup in stanza.
I have a song with 3 lyrics, the first should be   /mp  the second  /p
and the third /f
Can I use markup or the font for p / mp / f   text ?

Yes; see the "\musicglyph" command in "Overview of text markup commands".


Rather, look at the \dynamic command in the same section of the manual.

  /Mats



_______________________________________________
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
=============================================




reply via email to

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