lilypond-user
[Top][All Lists]
Advanced

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

Re: Formatting of lyrics


From: Zbyněk Burget
Subject: Re: Formatting of lyrics
Date: Tue, 06 Mar 2012 00:38:17 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Dne 5.3.2012 10:22, -Eluze napsal(a):
2. Can I shift syllabe in the lyric? {\tweak #'X-offset #-2} not work.

whereto you wanna shift it - center, left-aligned … ?
give us a small example, we might be able do do it!


4. I need place character (asteriscus) aligned on barline
      - used e.g. in Gregorian chant

\mark \markup "*" !?

I'm sorry, I need this in lyrics - this information dropped from the
original e-mail. At that point does not work



1) it works from version 2.15.2!  (markup into stanza)

Yes, works well, thanks!


2) please provide a full small compilable example (or showing the error)!
4) not sure if adding a bar or mark engraver in lyrics helps - someone
else!?

Example for 2) and test your code (unfortunately does not work with cadenza on "forced" barline :-( )


\version "2.15.32"

sl = { \tweak #'self-alignment-X #LEFT
       \once \override LyricText #'X-offset = #-0.7 }

%{ ***not working syntax***
sl = { \tweak #'self-alignment-X #LEFT \tweak #'X-offset #-0.7 }
%}

verse= \lyricmode {
        \sl la_la_la_la_la la la la first
        \sl second_la_la_la la la la la
}

melody = \relative c'{ \cadenzaOn c\breve d4 e f g \bar "|" g\breve f4 e d c }

\score {
  <<
    \melody
    \addlyrics \verse
  >>
  \layout {
    \context { \Staff \remove "Time_signature_engraver" }
    \context {
      \Lyrics
      \override BarLine #'bar-extent = #'(-1.5 . 2.5)
      \override BarLine #'stencil = #ly:text-interface::print
      \override BarLine #'text = \markup \teeny \bold "*"
      \consists Bar_engraver
      \consists Default_bar_line_engraver
    }
  }
}

--
Zbyněk Burget
Mlýnská 397
798 26 Nezamyslice

tel: 588 580 000, 739 930 931
http://www.burgnet.cz
IČ:  606 88 220; DIČ: CZ7210184674



reply via email to

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