[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Completing the Lilypond puzzle
From: |
Sven Axelsson |
Subject: |
Re: Completing the Lilypond puzzle |
Date: |
Sun, 16 Oct 2005 18:55:08 +0200 |
On 16/10/05, lars prins <address@hidden> wrote:
> Hello Sven,
>
> Thanks for your valuable reply. Yours was the only
> reply that helped me. Otherwise, I got from "you
> have to upgrade Lilypond" to "stop bickering", but
> nothing else useful.
>
> Your suggestion works like a charm, except for the
> 'C' which is still generated in the first bar. Since you
> know obviously a lot more about Lilypond, do you
> have an idea of how to get rid of the 'C'?
>
> I tried this:
>
> pages = {
> % 4 pages with 6 systems each
> \override Staff.TimeSignature #'style = #'() % line added by me
> \repeat unfold 24 { s1 \break }
> }
Oops, I missed that the time signature engraver operates on staff
level, and not on the full score. Use this code to get what you want.
%%%%%%%%
pages = {
\repeat unfold 8 { % number of pages
\repeat unfold 6 { s1 \break } % systems per page
\pageBreak
}
}
\new PianoStaff <<
\new Staff {\clef treble \pages}
\new Staff {\clef bass \pages}
>>
\layout {
indent = 0.0\cm
\context {
\Score
\remove Bar_number_engraver
\remove Bar_engraver
}
\context {
\Staff
\remove Time_signature_engraver
}
}
\paper {
hsize = 21\cm
vsize = 27.5\cm
leftmargin = 2\cm
linewidth = 17\cm
topmargin = 0.5\cm
bottommargin = 0\cm
tagline = ""
bookTitleMarkup = ""
scoreTitleMarkup = ""
oddHeaderMarkup = ""
evenHeaderMarkup = ""
}
%%%%%%%%
- Completing the Lilypond puzzle, lars prins, 2005/10/10
- Re: Completing the Lilypond puzzle, Joe Neeman, 2005/10/11
- Re: Completing the Lilypond puzzle, Erik Sandberg, 2005/10/11
- Re: Completing the Lilypond puzzle, Sven Axelsson, 2005/10/11
- Re: Completing the Lilypond puzzle, Mats Bengtsson, 2005/10/11
- RE: Completing the Lilypond puzzle, Fairchild, 2005/10/11