lilypond-user
[Top][All Lists]
Advanced

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

Re: bar command


From: Stuart Lowe
Subject: Re: bar command
Date: Sun, 19 Feb 2006 17:25:39 -0500
User-agent: Mutt/1.4.2.1i

I normally prefer to rely on the automation and avoid
manual inserts of items.

For some reason, though, I found myself having to
manually insert a "|:" at the beginning and an "|." at the end of
the 2nd alternative - if I didn't, they wouldn't show up (this is the one
you're referring to).  This was, as you say, overriding the "||" in the
previous line and messing things up.  I've changed the beginning to
a "||:", removing the "||" in the previous line and it works. 

In any case, much thanks:  you're suggestion worked exactly the way
I wanted and your explanation of the built-in rule was very helpful.

Cheers,

Stu.


On Sun, Feb 19, 2006 at 07:54:43PM +0100, Mats Bengtsson wrote:
> If you had included also the next bar, it would have been obvious
> why this happens, namely that the next bar is the beginning of a 
> repeat. Imagine first the situation where there is no line break
> here, then the bar line would have to be a "|:" to show the start
> of the repeat. This explains why the "|:" of the repeat overrides
> the "||" you have inserted manually (I don't understand why you also 
> specified the "|:" manually, it's done automatically by the \repeat 
> command). At line breaks, LilyPond has a built-in rule saying that if a 
> "|:" happens at a line break, then it should
> print an ordinary bar line at the end of the first line and the "|:" at 
> the beginning of the next line.
> 
> However, since your situation isn't that uncommon, there is actually a 
> solution. Unfortunately, I cannot find it in the documentation, though. 
> The trick is to specify \bar "||:"
> directly after the \repeat command. This will translate
> into a "||" before the line break and "|:" at the beginning
> of the next line.
> 
> To summarize, use:
> 
> ...
> \grg f8 e8 c8 \grg c8 d8 e8 \break
> 
>  \repeat volta 2 {
>  \bar "||:" \grg f4. _\markup { return to 3rd part } ...
> 
>   /Mats
> 
> Quoting Stuart Lowe <address@hidden>:
> 
> >Hi Folks,
> >
> >I'm doing a harmony for a 6/8 jig.  All the parts have eight bars and 
> >are repeated,
> >save for one, which has eight bars but is to be played only once.
> >
> >the part in question looks like:
> >
> > \grg f4. _\markup { return to transition - once over } ( f4.)
> > \hdblg g4. ( g4. )
> > \dblA A4. ( A4. )
> > f8 e8 f8 \dbld d4 e8 \break
> > \grg f4. ( f4. )
> > \hdblg g4. ( g4. )
> > e8 A8 e8 A8 f8 e8
> > \grg f8 e8 c8 \grg c8 d8 e8 \bar "||" \break
> >
> >The problem is that the generated (pdf) file does not show the ' \bar 
> >"||" ' - it only comes out as a single bar line.
> >
> >Note that I'm using a multiple (different) \bar commands within the 
> >score (attached) and perhaps this is what is causing
> >the problem.
> >
> >I'm using GNU LilyPond 2.6.4 on Fedora Core release 4.  The 
> >bagpipe.ly file is standard except for the addition
> >of some embellishments I've added.
> >
> >Any thoughts would be much appreciated.
> >
> >Regards,
> >
> >Stu.
> >
> >--
> >Stuart Lowe | Toronto, CAN | key ID on keyserver | Skype stuart.lowe
> >Fedora Core release 4 (Stentz) GNU/Linux kernel 2.6.11-1.1369_FC4 on 
> >i686 localhost3.localdomain
> >15:57:50 up 15 days,  5:22,  5 users,  load average: 0.35, 0.49, 0.58
> >
> 

-- 
Stuart Lowe | Toronto, CAN | key ID on keyserver | Skype stuart.lowe
Fedora Core release 4 (Stentz) GNU/Linux kernel 2.6.11-1.1369_FC4 on i686 
localhost3.localdomain
 16:00:48 up 16 days,  5:25,  5 users,  load average: 0.26, 0.56, 0.57




reply via email to

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