Re: angled bar lines

2016-08-11 Thread Philip (Michael) Dykes

Message: 7
Date: Wed, 10 Aug 2016 16:43:10 -0400
From: "Philip (Michael) Dykes"<thedoctor81...@gmail.com>
To:lilypond-user@gnu.org
Subject: Angled bar lines
Message-ID:<98176f98-5650-cb65-9a9e-0f2f6929d...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi I need to get a section at the beginning of a piece of liturgical
music I have (Only Begotten Son) in which /*sometimes*/ a certain thing
is sung but /not /normally sung indicated. The typical manner I have
seen this done is via the use of angled bar lines the same as that of
the angled repeat bar lines I have seen in frescobaldi and such but
without the repeat signs. Is there a way to do that? I really hope there
is.

Thanks,

-Michael Dykes
-- next part --
An HTML attachment was scrubbed...
URL:<http://lists.gnu.org/archive/html/lilypond-user/attachments/20160810/d52895e1/attachment.html>

--

Message: 8
Date: Wed, 10 Aug 2016 23:27:44 +0200
From: Malte Meyn<lilyp...@maltemeyn.de>
To:lilypond-user@gnu.org
Subject: Re: Angled bar lines
Message-ID:<1b04e3ff-511c-178e-974d-90ba1b792...@maltemeyn.de>
Content-Type: text/plain; charset=windows-1252; format=flowed



Am 10.08.2016 um 22:43 schrieb Philip (Michael) Dykes:


Hi I need to get a section at the beginning of a piece of liturgical
music I have (Only Begotten Son) in which /*sometimes*/ a certain thing
is sung but /not /normally sung indicated. The typical manner I have
seen this done is via the use of angled bar lines the same as that of
the angled repeat bar lines I have seen in frescobaldi and such but
without the repeat signs. Is there a way to do that? I really hope there
is.


You have to define your own bar line style using \defineBarLine:

\version "2.18.2"

\defineBarLine "[" #'("|" "[" ".")
\defineBarLine "]" #'("]" "" ".")

\relative {
   c'1 \bar "[" c \bar "]" \break
   c \bar "[" \break
   c \bar "]" c
}




Thanks, that is*exactly*  what I was looking for!

-MD

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


Re: Angled bar lines

2016-08-10 Thread Malte Meyn



Am 10.08.2016 um 23:27 schrieb Malte Meyn:

\defineBarLine "[" #'("|" "[" ".")


An explanation of this: define a bar line style called "[" that normally 
prints a "[" bar line. At the end of a line print "|" instead (as in the 
first line of my example), at the beginning of a line print "[", and 
print "." for span bars (note: span bars don’t yet really work with "[" 
as expected).


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


Re: Angled bar lines

2016-08-10 Thread Malte Meyn



Am 10.08.2016 um 22:43 schrieb Philip (Michael) Dykes:

Hi I need to get a section at the beginning of a piece of liturgical
music I have (Only Begotten Son) in which /*sometimes*/ a certain thing
is sung but /not /normally sung indicated. The typical manner I have
seen this done is via the use of angled bar lines the same as that of
the angled repeat bar lines I have seen in frescobaldi and such but
without the repeat signs. Is there a way to do that? I really hope there
is.


You have to define your own bar line style using \defineBarLine:

\version "2.18.2"

\defineBarLine "[" #'("|" "[" ".")
\defineBarLine "]" #'("]" "" ".")

\relative {
  c'1 \bar "[" c \bar "]" \break
  c \bar "[" \break
  c \bar "]" c
}

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


Angled bar lines

2016-08-10 Thread Philip (Michael) Dykes
Hi I need to get a section at the beginning of a piece of liturgical 
music I have (Only Begotten Son) in which /*sometimes*/ a certain thing 
is sung but /not /normally sung indicated. The typical manner I have 
seen this done is via the use of angled bar lines the same as that of 
the angled repeat bar lines I have seen in frescobaldi and such but 
without the repeat signs. Is there a way to do that? I really hope there 
is.


Thanks,

-Michael Dykes
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user