lilypond-user
[Top][All Lists]
Advanced

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

Re: Braces, stanza numbers and common lyrics


From: mdeneufch
Subject: Re: Braces, stanza numbers and common lyrics
Date: Mon, 19 Aug 2019 06:59:25 -0700 (MST)

I may have had a problem with the first upload...
essai.ly <http://lilypond.1069038.n5.nabble.com/file/t5881/essai.ly>  



% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************



\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}





% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "vertically-centered-common-lyrics.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it is automatically
%% generated from LSR http://lsr.dsi.unimi.it
%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
%% and then run scripts/auxiliar/makelsr.py
%%
%% This file is in the public domain.
\version "2.17.6"

\header {
%% Translation of GIT committish: 64d521c30b929ac9be37823df577b8f02c8cf0ee
  texidocfr = "
Il arrive, dans certaines partitions vocales, que quelques paroles
soient communes à tous les couplets.  Cette partie commune peut peut se
présenter verticalement centrée, comme dans l'exemple suivant.

"
  doctitlefr = "Centrage vertical de paroles communes"

  lsrtags = "vocal-music"

  texidoc = "
In a vocal piece where there are several (two,four or more) lines of
lyrics, and common lyrics for all voices at some point, these common
lyrics may be vertically centered regardingly, as shown in the
following example:

"
  doctitle = "Vertically centered common lyrics"
} % begin verbatim

\include "english.ly"
leftbrace = \set stanza = \markup {
  \hspace #1
  \translate #'(0 . -4) \left-brace #70 }
%leftbrace = \markup { \override #'(font-encoding . fetaBraces) \lookup
#"brace240" }
%rightbrace = \markup { \rotate #180 \leftbrace }
rightbrace = \set stanza = \markup {
  \hspace #1
  \translate #'(0 . 0.8) \right-brace #45 }

dropLyrics =
{
    \override LyricText.extra-offset = #'(0 . -5)
    \override LyricHyphen.extra-offset = #'(0 . -5)
    \override LyricExtender.extra-offset = #'(0 . -5)
}

raiseLyrics =
{
    \revert LyricText.extra-offset
    \revert LyricHyphen.extra-offset
    \revert LyricExtender.extra-offset
}

skipFour = \repeat unfold 4 { \skip 8 }

lyricsA = \lyricmode { The first verse has \dropLyrics the com -- mon
 words \rightbrace\leftbrace
 \raiseLyrics \markup{\bold "1." used} in all four. }
lyricsB = \lyricmode { \skipFour \skipFour \markup{\bold "2." al} -- so ap
-- pear. }
lyricsC = \lyricmode { \skipFour \skipFour are get -- ting dull. }
lyricsD = \lyricmode { \skipFour \skipFour get used once more. }

melody = \relative c' { c4 d e f g f e8( e f) d4 c e d c }

\score
{
        <<
                \new Voice = m \melody
                \new Lyrics \lyricsto m \lyricsA
                \new Lyrics \lyricsto m \lyricsB
                \new Lyrics \lyricsto m \lyricsC
                \new Lyrics \lyricsto m \lyricsD
        >>
}




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html



reply via email to

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