lilypond-user
[Top][All Lists]
Advanced

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

Re: Formatting Stanza Numbers


From: Mats Bengtsson
Subject: Re: Formatting Stanza Numbers
Date: Mon, 22 May 2006 23:23:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050927 Debian/1.7.8-1sarge3

In addition to what I just said, you can of course modify the
font of the stanza number, by setting properties on the
StanzaNumber layout object, for example
\override StanzaNumber #'font-shape = #'italic
Similarly, you can set the extra-offset property to move
it around relative to the lyrics.

  /Mats

Mats Bengtsson wrote:

According to the documentation,
http://lilypond.org/doc/v2.8/Documentation/user/lilypond-internals/Stanza_005fnumber_005fengraver.html#Stanza_005fnumber_005fengraver
you can specify a markup as the argument. However,
when I look at the implementation, it seems that it's
only possible to specify a string.
So, we have a bug, either in the implementation or in the
documentation. Of course, the best thing would be to
fix the implementation so that you can specify a markup.

Note also that there's an additional complication, namely
that you have to do some tricks to avoid the "syntax error"
which you get for example with:
\new Lyrics \lyricsto mymelody {\set stanza = \markup{ \italic "2."} ... }
One solution is to do
\new Lyrics \with {\set stanza = \markup{ \italic "2."} }
 \lyricsto mymelody { ... }

Still, as I already said, the markup will be ignored for the
moment.

  /Mats

zrlaszlo wrote:

Hi,
I would like to ask all of you, if there is a possibility to format Stanza Numbers using \markup commands (e. g. entering special characters, altering
font-name, font-size, etc.), and altering their position relative to the
lyrics (X or Y). If yes, which is the way to do it?
Please, help!
--
View this message in context: http://www.nabble.com/Formatting+Stanza+Numbers-t1664774.html#a4511407
Sent from the Gnu - Lilypond - User forum at Nabble.com.



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