lilypond-user
[Top][All Lists]
Advanced

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

RE: #'stencil vs. #'transparent - UPDATED EXAMPLES


From: Daniel Rosen
Subject: RE: #'stencil vs. #'transparent - UPDATED EXAMPLES
Date: Thu, 28 Feb 2013 13:29:33 +0000

> -----Original Message-----
> From: Phil Holmes [mailto:address@hidden
> Sent: Thursday, February 28, 2013 8:24 AM
> To: Daniel Rosen; address@hidden
> Subject: Re: #'stencil vs. #'transparent
> 
> > I'm typesetting a piece of vocal music, and I want to have a melisma
> > without a slur being drawn.
> 
> Just use underscores in your lyrics for each note you want skipped.
> 
> --
> Phil Holmes

I need a LyricExtender though. Sorry, I should have mentioned that/put it in my 
examples (new ones below).

%%% start

\version "2.16.1"
slurMusic = \relative c' { c1( | d2 c | e1) | }
noSlurMusic = \relative c' { c1 | d2 c | e1 | }
lyric = \lyricmode { Lyric __ }

<<
  \new Voice = "voice" { \tempo "default" \slurMusic }
  \new Lyrics \lyricsto "voice" { \lyric }
>>

<<
  \new Voice = "voice" { \override Slur #'stencil = ##f \tempo "#'stencil = 
##f" \slurMusic }
  \new Lyrics \lyricsto "voice" { \lyric }
>>

<<
  \new Voice = "voice" { \override Slur #'transparent = ##t \tempo 
"#'transparent = ##t" \slurMusic }
  \new Lyrics \lyricsto "voice" { \lyric }
>>

<<
  \new Voice = "voice" { \tempo "no melisma" \noSlurMusic }
  \new Lyrics \lyricsto "voice" { \lyric }
>>

%%% end

DR



reply via email to

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