[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Making invisible the barline that extends between staff groups
From: Joey Di Nardo <joey.dinardo () gmail ! com>
Date: 2012-01-31 21:21:17
Message-ID: BAD242A5-6E44-4499-9389-E56F15D2AF5A () gmail ! com
[Download RAW message or body]
Hi all, I'm trying to make invisible the barline that extends between the staff groups, so that only the menstriche line are present. Here's my code:
\paper {
#(define dump-extents #t)
#(set-paper-size "11x17")
%line-width = 160\mm - 2.0 * 0.4\in
%indent = 0\mm
%force-assignment = #""
%line-width = #(- line-width (* mm 3.000000))
top-margin = 2\cm
}
\layout {
}
\sourcefileline 491
#(define mydrums '((bassdrum default #t 4)
(snare default #t -4)
(tambourine default #t 0)))
global = {
\time 1/1
%\override Staff.BarLine #'transparent = ##t
%add :
%%\revert Staff.BarLine #'transparent
%%\bar "|."
%after last bar
}
drumsA = {
\context DrumVoice <<
{ \global }
{ \drummode {
\autoBeamOff
\stemDown sn8 \stemUp tamb s8 |
sn4 \stemDown sn4 |
\stemUp tamb8 \stemDown sn8 \stemUp sn16 \stemDown sn \stemUp sn8 |
\stemDown sn8 \stemUp tamb s8 |
\stemUp sn4 s8 \stemUp tamb
}
}
>>
}
drumsB = {
\drummode {
s4 bd8 s2*2 s4 bd8 s4 bd8 s8
}
}
\layout {
%indent = #40
}
\score {
\new StaffGroup <<
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartSquare
}
<<
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"1a"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsA
}
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"1b"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsB
}
>>
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartSquare
}
<<
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"2a"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsA
}
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"2b"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsB
}
>>
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartSquare
}
<<
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"3a"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsA
}
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"3b"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsB
}
>>
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartSquare
}
<<
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"4a"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsA
}
\new DrumStaff {
\override Staff.BarLine #'transparent = ##t
\set DrumStaff.instrumentName = #"4b"
\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
\drumsB
}
>>
>>
}
Thanks!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic