lilypond-user
[Top][All Lists]
Advanced

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

Re: Different markups for odd and even lyrics lines / stanzas


From: Thomas Morley
Subject: Re: Different markups for odd and even lyrics lines / stanzas
Date: Fri, 20 Jul 2012 17:48:14 +0200

2012/7/18 Specken Flecken <address@hidden>:
> Dear lilypond people,
>
> Marek from the bug squad suggested, I should post this question here.
> Does someone know a solution for the following problem:
>
> I want to distinguish odd and even lyrics lines, i.e. stanzas. I can
> think of 3 variants:
>
>  1. Colored resp. light gray background,
>  2. a vertical line after each even numbered stanza  or
>  3. extra vertical spacing after each even numbered stanza.
>
> I would be grateful for suggestions how to accomplish this, e.g.
> using scheme.

Hi,

I've no clue about 1. or 2., but following
http://lsr.dsi.unimi.it/LSR/Item?id=641 I've defined a new
AltLyrics-context. Offering more lower space and an altered font-shape
and color.

One problem persists. I didn't manage how to use a command like
\override LyricText #'font-size = #-1 in \layout affecting both Lyrics
_and_ AltLyrics.
You can use \override Lyrics . LyricText #'font-size = #-1 in
\lyricmode of both contexts. But in \layout you have to set it twice:

       \context { \Lyrics \override LyricText #'font-size = #-1 }

_and_

       \context { \AltLyrics \override LyricText #'font-size = #-1 }

Perhaps I overlooked something.

File attached.

HTH,
  Harm

Attachment: alt-lyric-context-01.ly
Description: Binary data


reply via email to

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