[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Barline at beginning of lines of music.
From: |
Thomas Morley |
Subject: |
Re: Barline at beginning of lines of music. |
Date: |
Mon, 14 Jul 2014 18:14:48 +0200 |
2014-07-14 17:11 GMT+02:00 Richard Shann <address@hidden>:
> [...] I can write, for example
>
> \version "2.18.0"
> A = \bar "||-A"
> \defineBarLine "||-A" #'(":|||" "]||:" "||")
> { \A a'4 a' a' a' \A
> a'4 a' a' a' \A }
>
> this defines a customised version of the double bar line which does not
> affect the standard one, but prints out differently at the beginning and
> end of lines.
Though, your definition for "||-A" uses two _not_ defined bar-types:
":|||" and "]||:"
You'll get warnings if you try to use "||-A" in a StaffGroup and a
SpanBar isn't printed.
To avoid this, define all newly introduced BarLines as well.
\version "2.18.0"
\defineBarLine "|||" #'("|||" "|||" "|||")
\defineBarLine ":|||" #'(":|||" "|||" " |||")
\defineBarLine "]||:" #'(":|||" "]||:" " ||")
\defineBarLine "||-A" #'(":|||" "]||:" "||")
A = \bar "||-A"
m =
\new Staff {
\A a'4 a' a' a' \A
\break
a'4 a' a' a' \A
}
\new StaffGroup
<<
\m
\m
>>
Please refer to the NR about the already predefined bar-types or use
the following code in a .ly-file to display them in Terminal:
#(use-modules (ice-9 pretty-print))
#(pretty-print (map car (@@ (lily) bar-glyph-alist)))
or the complete list with all settings:
#(use-modules (ice-9 pretty-print))
#(pretty-print (@@ (lily) bar-glyph-alist))
Cheers,
Harm
- Re: Barline at beginning of lines of music., (continued)
- Re: Barline at beginning of lines of music., James, 2014/07/11
- Re: Barline at beginning of lines of music., Richard Shann, 2014/07/11
- Re: Barline at beginning of lines of music., Thomas Morley, 2014/07/11
- Re: Barline at beginning of lines of music., Richard Shann, 2014/07/12
- Re: Barline at beginning of lines of music., Richard Shann, 2014/07/13
- Re: Barline at beginning of lines of music., Marc Hohl, 2014/07/14
- Re: Barline at beginning of lines of music., David Kastrup, 2014/07/14
- Re: Barline at beginning of lines of music., David Kastrup, 2014/07/14
- Re: Barline at beginning of lines of music., Marc Hohl, 2014/07/14
- Re: Barline at beginning of lines of music., Richard Shann, 2014/07/14
- Re: Barline at beginning of lines of music.,
Thomas Morley <=
- Re: Barline at beginning of lines of music., James, 2014/07/14
- Re: Barline at beginning of lines of music., Thomas Morley, 2014/07/16
- Re: Barline at beginning of lines of music., James, 2014/07/16
- Re: Barline at beginning of lines of music., Richard Shann, 2014/07/15
- Re: Barline at beginning of lines of music., Marc Hohl, 2014/07/16
- Re: Barline at beginning of lines of music., Thomas Morley, 2014/07/16
- Re: Barline at beginning of lines of music., Richard Shann, 2014/07/16
- Re: Barline at beginning of lines of music., Marc Hohl, 2014/07/17
- Re: Barline at beginning of lines of music., David Kastrup, 2014/07/12
Re: Barline at beginning of lines of music., Simon Albrecht, 2014/07/11