Re: Standalone bar lines in StaffGroup

2007-07-27 Thread Kieren MacMillan

Hi Siska,


Do you have any idea on how to suppress the global barline settings
(if I understand the terminology well, this is supposed to be  
called 'barline engraver'),

but only for those few bars, not for the entire score?


I don't believe you can globally affect the barline_engraver itself.  
However, you could always define a macro to accomplish the task  
easily, as shown below.


Hope this helps!
Kieren.
__

\version 2.11.27

hideBarlines =
{
\override Score.SpanBar #'transparent = ##t
\override Score.BarLine #'transparent = ##t
}
showBarlines =
{
\override Score.SpanBar #'transparent = ##f
\override Score.BarLine #'transparent = ##f
}

theMusic = \relative
{
a a a a |
b b b b |
\hideBarlines c c c c |
d d d d |
\showBarlines e e e e
}

\score
{
\new StaffGroup  \theMusic \theMusic 
}


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Standalone bar lines in StaffGroup

2007-07-27 Thread Siska Ádám

Hello,


I tried out the '\override SpanBar #'transparent = ##t' command, and 
although it really removes the barlines between staves, the problem is, 
that if I introduce a barline in a staff (or I put the repeat volta 
command) I still get the barlines in every stave.


Do you have any idea on how to suppress the global barline settings (if 
I understand the terminology well, this is supposed to be called 
'barline engraver'), but only for those few bars, not for the entire score?


Thank you,
Adam



Siska Ádám
+36 (70) 207-63-85
http://apocalypse.rulez.org/~sadam


Trevor Bača wrote:

On 7/26/07, Siska Ádám [EMAIL PROTECTED] wrote:

Hello,


actually, that was the first thing I checked. My problem is that if I do
what was described there, I get separate barlines for the whole
movement. I only need at about 2 measures with separate barlines, the
rest should have the same time signature and barline.

I try to put here in some kind of plain text that part of the piece
(without shars and flats to see better what's going on):

| gagabgabgabgabg | abca |: gabca :| (*17)
| agabgabgabgabga | bacba |: gabacba :| (*12)
| gabgabgabgabgab | cgabc |: gabc :| (*21)

As you can see, in the first bar, the barlines are at the same time in
every staff, so they must be connected. The begin-repeat barlines are at
different times, so they shouldn't be connected with each other.
Finally, the ending barlines occur at the same time. (There are 17*5 =
85 notes in the first staff inside the repeat, while there are 7 * 12 =
4 * 21 = 84 notes inside the repeats of the other two staves. If you
take in account that the repeat block in the first staff begins one note
prior to the repeat blocks of the other staves, you'll see that the
ending barlines occur at the same time).

Now, I have to invent something to engrave this...


Hm... If you have to do it manually, do you know about the difference
between the Bar and SpanBar grobs? The SpanBar is the element that
goes *between* (but not *through) the staves. And you can dynamically
hide (and show) the SpanBars at any point using something like \once
\override SpanBar #'transparent = ##t. I think the SpanBar lives in a
relaitvely high-level context, so you might have to say Score.SpanBar
or something to make it work.

Try running a small test to see how that works.

You can also add bars at any point with \bar | if you do have to go
the manual route.







___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Standalone bar lines in StaffGroup

2007-07-26 Thread Trevor Bača

On 7/26/07, Siska Ádám [EMAIL PROTECTED] wrote:

Hello,


I'm engraving a string quartet, and I have the four staffs inside a
StaffGroup. This is normally good for bar lines, as normally I need
single barlines that display through the four staves. But there's a
point where the time signatures differ for every stave, but just for a
few bars. How can I tell the engine to create separate barlines only for
that few staves?


The 2.11 manual seems to be offline at the moment. But check 8.4.1
Polymetric notation in the 2.10 manual. Should work fine; if not,
post a minimal example that gets as close as you can.




P.S. If someone knew a solution on how to connect a horizontal line to a
barline, or better, a solution to how to tell the engine to put the
first notes of the bars exactly on the barline (as this would solve the
line problem with some invisible notes on the barline that have
glissando lines attached), please tell me! (The 'put the first notes of
the bar exactly on the barline' could also be useful to engrave scores
that have strict space notation, like Tristan Murail's ones.)


This is possible today using proportional notation. The 2.10 manual
mentions proportional notation only a little; the 2.11 manual (which,
again, is currently offline) treats proportional notation in much
greater detail. Read about that in 2.11 when it's available, and
expect to spend a day or two running examples to learn how the
different proportional notation parameters interact.



--
Trevor Bača
[EMAIL PROTECTED]
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Standalone bar lines in StaffGroup

2007-07-26 Thread Siska Ádám

Hello,


I'm engraving a string quartet, and I have the four staffs inside a 
StaffGroup. This is normally good for bar lines, as normally I need 
single barlines that display through the four staves. But there's a 
point where the time signatures differ for every stave, but just for a 
few bars. How can I tell the engine to create separate barlines only for 
that few staves?



Thank you,
Adam

P.S. If someone knew a solution on how to connect a horizontal line to a 
barline, or better, a solution to how to tell the engine to put the 
first notes of the bars exactly on the barline (as this would solve the 
line problem with some invisible notes on the barline that have 
glissando lines attached), please tell me! (The 'put the first notes of 
the bar exactly on the barline' could also be useful to engrave scores 
that have strict space notation, like Tristan Murail's ones.)




Siska Ádám
+36 (70) 207-63-85
http://apocalypse.rulez.org/~sadam


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user