lilypond-user
[Top][All Lists]
Advanced

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

Re: Column of music and a column of graphics... or creating invisible me


From: Patrick or Cynthia Karl
Subject: Re: Column of music and a column of graphics... or creating invisible measures...
Date: Wed, 20 Mar 2013 12:54:00 -0500

On Mar 19, 2013, at 9:45 PM, address@hidden wrote:

> Message: 5
> Date: Tue, 19 Mar 2013 15:17:42 -0700 (PDT)
> From: rem-d <address@hidden>
> To: address@hidden
> Subject: Column of music and a column of graphics... or creating
>       invisible       measures...
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset=us-ascii
> 
> <http://lilypond.1069038.n5.nabble.com/file/n143065/cadences.png> 
> 
> Hi, first post on this forum.
> 
> I wish to have something similar to the image attached. At the moment my
> code is rather simple:
> 
> /upper = {
>  \override Score.KeyCancellation #'stencil = ##f
>  \set Score.explicitKeySignatureVisibility = #'#(#f #f #t)
>  \override Score.BarNumber #'stencil = ##f
>  \override Score.TimeSignature #'stencil = ##f
>  \time 2/4
>  \relative c''{
>   \key a \major
>     <e b>
>     <a, cis,>
>     \break
>     \key bes \major
>     <f c a'>
>     <ees  g bes>
>     \break 
> / ..... etc for the upper part. Similar for the lower /
> }
> 
> \score{
>   \new PianoStaff<<
>     \new Staff  = "upper" \upper
>     \new Staff = "lower" \lower
>>> /
> 
> 
> I've experimented with using columns in markup but this just didn't seem to
> do the trick. A slightly unsatisfying way to solve this would be to make the
> measures completely invisible so only the notes (or graphics: i.e the lines)
> would be visible.
> 
> Hope this makes sense. Apologies if this is something people have answered
> thousands of times!

It's difficult to tell from your code what you are after.  You do know that "/" 
is not the beginning of a comment in LilyPond, don't you.   In any case, the 
following seems to be close to the spirit of your attached image:

\version "2.16.2"

\paper {
    ragged-bottom = ##t
    ragged-last-bottom = ##t
    ragged-right = ##t
}

upper =  \relative c''{
 \override Score.KeyCancellation #'stencil = ##f
 \set Score.explicitKeySignatureVisibility = #'#(#f #f #t)
 \override Score.BarNumber #'stencil = ##f
 \override Score.TimeSignature #'stencil = ##f
    <e b>
    <a, cis,>
    \break
    \key bes \major
    <f c a'>
    <ees  g bes>
    \break 
% ..... etc for the upper part. Similar for the lower /
}

global = {   \time 2/4 \key a \major }

\score {
  \new PianoStaff <<
          \new Staff  { \global \upper }
          \new Staff  { \global \upper }
  >>
  \layout { indent = 0 }
}       

HTH

 
> 
> Andy
> 
> 
> 
> --
> View this message in context: 
> http://lilypond.1069038.n5.nabble.com/Column-of-music-and-a-column-of-graphics-or-creating-invisible-measures-tp143065.html
> Sent from the User mailing list archive at Nabble.com.




reply via email to

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