lilypond-user
[Top][All Lists]
Advanced

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

Re: Last staff -coda staff- position


From: Pato Press
Subject: Re: Last staff -coda staff- position
Date: Mon, 25 Jul 2011 20:42:46 -0300

Thanks Xavier these http://lsr.dsi.unimi.it/LSR/Item?id=190 snippet helps a lot!

I'll paste the tweaked snippet:

###
\version "2.14.1"

call = {

% These is taken from the above snippet
  \cadenzaOn
  \stopStaff
  \once \override TextScript #'word-space = #1.5
  \once \override TextScript #'X-offset = #8
  \once \override TextScript #'Y-offset = #1.5
  s1*0^\markup { \center-column { "D.S. al Coda" \line { \musicglyph #"scripts.segno" \musicglyph #"scripts.tenuto" \musicglyph #"scripts.coda" } } }
% Tweaking for having more space
  \repeat unfold 2 {
    \repeat unfold 4 {
      s1*4
      \bar ""
    }
    \break
    \once \override Staff.Clef #'stencil = ##f
    \once \override Staff.KeySignature #'stencil = ##f
  }
  \break
  \startStaff
  \cadenzaOff
}

% Testing area

melo = {
  \repeat unfold 4 {a4}
  \mark \markup { \musicglyph #"scripts.segno" }
  \repeat unfold 4 {b4}
  \repeat unfold 4 {c4}
  \mark \markup { \musicglyph #"scripts.coda" }
  \repeat unfold 4 {d4}
  \bar "||"
  }
 
codamelo = {
    \mark \markup { \musicglyph #"scripts.coda" }
    c'2\upbow^\fermata r2 | d2^\fermata r2 | es2.:32^\fermata r4
    \bar "|."
  }
 
\layout {
    ragged-last = ##t
      }
 
\score {
    \relative c'' {
      \time 4/4
      \melo
      \call
      \codamelo
    }
  }

#####

Thanks again!
tdy.

2011/7/25 Xavier Scheuer <address@hidden>
On 25 July 2011 21:00, Pato Press <address@hidden> wrote:
>
> Sorry!!!
>
> Forgot to add a \break before the \coda. At list one is needed. But it would
> be great to be able to add more vertical space to that break.

Have you seen the two following snippets on the LSR?

"Positioning segno and coda (with line break)"
http://lsr.dsi.unimi.it/LSR/Item?id=190
"Positioning segno and coda (without line break)"
http://lsr.dsi.unimi.it/LSR/Item?id=198

Cheers,
Xavier

--
Xavier Scheuer <address@hidden>


reply via email to

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