lilypond-devel
[Top][All Lists]
Advanced

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

Re: Stemless music with slurs


From: Michael Welsh Duggan
Subject: Re: Stemless music with slurs
Date: Tue, 15 Nov 2005 13:30:00 -0500
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Mats Bengtsson <address@hidden> writes:

> If you want to remove the stems completely but not the engraver, it should
> work to set
> \override Staff.Stem #'print-function = ##f
>
> Wait a second, the above solution is for version 2.6 and you are using
> version 2.7.14. Then I hope that the following works instead:
> \override Staff.Stem #'stencil = ##f
>

Godd idea, but it doesn't work in practice.  The stems are gone, but
slurs still avoid them as if they were there, probably due to the same
code in slur-scoring.cc.

Example:

PNG image

\version "2.7.17"

barOne = { \once \override Staff.BarLine #'bar-size = #2
           \bar "|" }
barTwo = { \once \override Staff.BarLine #'extra-offset = #'(0 . 2)
           \once \override Staff.BarLine #'bar-size = #2
           \bar "|" }

chant = \relative c' {
  \set Staff.autoBeaming = ##f
  \set Score.timing = ##f
  \key f \major
  \mark \markup {Antiphon \hspace #2 \italic{"Ps. 29"} }
  \override Staff.Stem #'stencil = ##f
  \override Staff.Beam #'stencil = ##f
  \slurUp
  f8 g( a) f( d) f( g f4.) \barTwo
  f8 g( a) a4. \barOne
  a8 f g a c( d c) c4. \barTwo
  f,8( g) a( g) a f( g f4.) \bar "||"
}

text = \lyricmode {
  The Lord will reign
  for e -- ver;
  and will give his peo -- ple
  the gift of peace.
}

\score {
  <<
    \new Staff {
      \chant 
    }
%    \lyricsto "staff" \new Lyrics { \text }
  >>
  \layout {
    indent = 0
  }
}
-- 
Michael Welsh Duggan
(address@hidden)

reply via email to

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