lilypond-user
[Top][All Lists]
Advanced

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

Re: text in horizontal space between staves


From: Patrick Schmidt
Subject: Re: text in horizontal space between staves
Date: Tue, 15 Sep 2009 11:13:56 +0200

Hi Robin,

thanks for your help. The other day I found a different approach here: 
http://www.mail-archive.com/address@hidden/msg51078.html. This comes even 
closer to my original intention:

\version "2.13.3"

\markup {
  \line {
        \score { \new StaffGroup << \new Staff { c'1 } \new Staff { c'1 } >>
                        \layout {} } 
                        \hspace #9.0 \center-column \lower #7  {\line {D.S. al} 
                                \line { \musicglyph #"scripts.coda" 
\raise #-0.5 - \hspace #0.5 \musicglyph #"scripts.coda" }}
        \score { \new GrandStaff << \new Staff { c'1 } \new Staff { c'1 } >>
\layout {} }
    }
}

1) Is it possible to manipulate the width of the gap between the systems? I 
would like to reduce the width.

2) How do I have to proceed to integrate this construct in a template such as:

upper = \relative c'' {
  \clef treble
  \key c \major
  \time 4/4

  a4 b c d
}

lower = \relative c {
  \clef bass
  \key c \major
  \time 4/4

  a2 c
}

\score {
  \new PianoStaff <<
    \set PianoStaff.instrumentName = #"Piano  "
    \new Staff = "upper" \upper
    \new Staff = "lower" \lower
  >>
  \layout { }
  \midi { }
}

I actually would like to typeset some music before and after the gap between 
the systems.

Many thanks for pointers!
patrick


-------- Original-Nachricht --------
> Datum: Sun, 13 Sep 2009 22:19:32 +0200
> Von: "Robin Bannister" <address@hidden>
> An: "Patrick Schmidt" <address@hidden>, address@hidden
> Betreff: Re: text in horizontal space between staves

> Patrick Schmidt wrote:  
> >  is it possible to align the coda signs underneath "D.S. al"? 
> 
> Well, this makes the markup narrower  
> and then you start to see that we had no horizontal centering.   
> 
> Using a breathing sign instead of a note head makes it easy to 
> anchor the markup in the middle of the measure.  
> By default you get a half-measure gap on either side.   
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>   \stopStaff  
>   s2 
>   \once \override BreathingSign #'text = #dsalcodacoda
>   \once \override BreathingSign #'Y-offset = 0          % vertical anchor
>   \once \override BreathingSign #'X-extent = #'(-1 . 1) % change side gaps
>   \breathe  
>   s2
>   \startStaff
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  
> 
> 
> And the markup must be centered both horizontally and vertically: 
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> dsalcodacoda = 
>   \markup \vcenter \override #'(baseline-skip . 2) \center-column { 
>     \line { D.S. al } 
>     \line { \musicglyph #"scripts.coda" - \hspace #0.5 
>             \musicglyph #"scripts.coda" } }
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> 
> Cheers,
> Robin

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser




reply via email to

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