[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: one-line percussion staff: barlines end incorrectly
From: |
David Raleigh Arnold |
Subject: |
Re: one-line percussion staff: barlines end incorrectly |
Date: |
Wed, 1 Dec 2004 14:36:44 -0500 |
User-agent: |
KMail/1.6.2 |
On Wednesday 01 December 2004 10:20 am, Antti Kaihola wrote:
> One-line drum staves work better now, but there's still something wrong
> with the barlines and especially repeats.
>
> I'd like the barlines to extend above the single staff line. Imagine
> that it's really a 5-line staff with the top and bottom two lines
> hidden. Or is it already possible to hide staff lines without it
> affecting anything else?
>
> Here's my test case:
>
> \context StaffGroup <<
> \new DrumStaff \with { \override StaffSymbol #'line-count = #1 }
> \drummode { mar2 mar | mar4 mar mar mar | \repeat volta 2 { mar2 mar |
> } } \new Staff \relative { c4 d e f | g a b c | \repeat volta 2 { b a g f }
I think it can still be done. Here's how I did it several
years ago. The document is tengtr.pdf (Ten Lessons) on my
website, openguitar.com .
\begin[20pt]{lilypond} % onel
ine music
\score { {
\context RhythmicStaff = one \notes { \clef "G_8"
%%%%%\property Staff.TimeSignature \override #'style = #'()
\property Voice.Stem \override #'thickness = #1.0
\time 4/4
\property Staff.instrument = "\\Large{1}"
s1 c1^"1\ \ 2\ \ 3\ \ 4"_"g"
c1^"1\ \ 2\ \ 3\ \ 4"
c1^"1\ \ 2\ \ 3\ \ 4" c1^"1\ \ 2\ \ 3\ \ 4"
c1^"1\ \ 2\ \ 3\ \ 4" c1^"1\ \ 2\ \ 3\ \ 4"
c1^"1\ \ 2\ \ 3\ \ 4" c1^"1\ \ 2\ \ 3\ \ 4"
\bar"|."
} }
\paper{linewidth=7.0\in indent=0.15\in
%interscoreline=-0.0\in
\translator { \RhythmicStaffContext
BarLine \override #'bar-size = #5
\consists Instrument_name_engraver
}
} }
\end{lilypond}
> }
>
>
>
>
>
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-lilypond